mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2024-12-23 04:47:34 +01:00
Ah yes
This commit is contained in:
parent
81a2559339
commit
a5baeb4e82
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user