Changed priority levels...

This commit is contained in:
Norbi Peti 2017-08-18 03:02:04 +02:00
parent d997042e1a
commit 59d8cd970e

View file

@ -12,12 +12,12 @@ import buttondevteam.lib.player.TBMCPlayerBase;
public class PlayerListener implements Listener {
@EventHandler(priority = EventPriority.LOWEST)
@EventHandler(priority = EventPriority.NORMAL)
public void OnPlayerJoin(PlayerJoinEvent event) {
TBMCPlayerBase.joinPlayer(event.getPlayer());
}
@EventHandler(priority = EventPriority.HIGHEST)
@EventHandler(priority = EventPriority.NORMAL)
public void OnPlayerLeave(PlayerQuitEvent event) {
TBMCPlayerBase.quitPlayer(event.getPlayer());
}