Changed the onDisable() method in PlayerDataManager to use the more appropriate values() method.

This commit is contained in:
theone1000 2019-10-07 12:10:38 -06:00
parent 6fd2eca406
commit 26035dfc8f

View File

@ -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();
}
}