mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2025-01-25 08:51:33 +01:00
Changed the onDisable() method in PlayerDataManager to use the more appropriate values() method.
This commit is contained in:
parent
6fd2eca406
commit
26035dfc8f
@ -47,8 +47,8 @@ public class PlayerDataManager {
|
||||
}
|
||||
|
||||
public void onDisable() {
|
||||
for (UUID playerDataStorageList : playerDataStorage.keySet()) {
|
||||
playerDataStorage.get(playerDataStorageList).save();
|
||||
for (PlayerData data : playerDataStorage.values()) {
|
||||
data.save();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user