Stats are now reloaded when a player logs in

(This build hasn't been tested at all and might be unstable!)
This commit is contained in:
Aria 2019-12-14 03:41:46 +01:00
parent 652294ccc3
commit 6e7d6d0b3a

View File

@ -32,7 +32,7 @@ public class PlayerListener implements Listener {
@EventHandler(priority = EventPriority.LOWEST)
public void a(PlayerJoinEvent event) {
Player player = event.getPlayer();
PlayerData.setup(player).setPlayer(player);
PlayerData pd = PlayerData.setup(player).setPlayer(player); pd.getStats().updateAll();
}
/*