mirror of
https://gitlab.com/SamB440/rpgregions-2.git
synced 2025-12-31 04:36:29 +00:00
Block main thread on disable to ensure data is saved
This commit is contained in:
@@ -41,7 +41,7 @@ public interface IStorageManager {
|
||||
* Removes an account from the storage cache and saves its data.
|
||||
* @param uuid player's UUID
|
||||
*/
|
||||
void removeCachedAccount(UUID uuid);
|
||||
CompletableFuture<Void> removeCachedAccount(UUID uuid);
|
||||
|
||||
/**
|
||||
* Gets a UUID safe to use in databases.
|
||||
|
||||
Reference in New Issue
Block a user