mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-02 06:28:54 +00:00
Save and invalidate on quit (bukkit)
This commit is contained in:
1 parent
c36fed6f43
commit
15c994bdbd
4 files changed
+72
-8
No files matched your search
@@ -50,4 +50,13 @@ public interface UserManager<C extends CarbonPlayer> {
|
||||
*/
|
||||
CompletableFuture<ComponentPlayerResult<C>> savePlayer(final C player);
|
||||
|
||||
/**
|
||||
* Saves the {@link CarbonPlayer}, returns the result, and invalidates the player entry.
|
||||
*
|
||||
* @param player the player to save
|
||||
* @return the result
|
||||
* @since 2.0.0
|
||||
*/
|
||||
CompletableFuture<ComponentPlayerResult<C>> saveAndInvalidatePlayer(final C player);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user