This commit is contained in:
Gunging 2021-11-07 14:50:53 -06:00
parent 81a2559339
commit a5baeb4e82

View File

@ -70,7 +70,6 @@ public class PlayerData {
stats = new PlayerStats(this);
load(new ConfigFile("/userdata", getUniqueId().toString()).getConfig());
updateInventory();
}
private void load(FileConfiguration config) {
@ -492,7 +491,9 @@ public class PlayerData {
return;
}
data.put(player, new PlayerData(mmo));
PlayerData playerData = new PlayerData(mmo);
data.put(player, playerData);
playerData.updateInventory();
return;
}