mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2025-12-29 03:49:07 +00:00
fix lock not released if shutdown the server when editing offline player data
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
|
||||
package net.momirealms.customfishing.api.data;
|
||||
|
||||
import net.momirealms.customfishing.api.data.user.OfflineUser;
|
||||
import net.momirealms.customfishing.api.data.user.OnlineUser;
|
||||
|
||||
import java.util.Collection;
|
||||
@@ -35,5 +36,5 @@ public interface DataStorageInterface {
|
||||
|
||||
CompletableFuture<Boolean> savePlayerData(UUID uuid, PlayerData playerData, boolean unlock);
|
||||
|
||||
void saveOnlinePlayersData(Collection<OnlineUser> users, boolean unlock);
|
||||
void savePlayersData(Collection<? extends OfflineUser> users, boolean unlock);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user