mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2025-01-22 09:31:22 +01:00
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:
parent
652294ccc3
commit
6e7d6d0b3a
@ -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();
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user