forked from Upstream/mmocore
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)
|
@EventHandler(priority = EventPriority.LOWEST)
|
||||||
public void a(PlayerJoinEvent event) {
|
public void a(PlayerJoinEvent event) {
|
||||||
Player player = event.getPlayer();
|
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