From 59d8cd970e5370b9d39207b122239ba8b73655a1 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Fri, 18 Aug 2017 03:02:04 +0200 Subject: [PATCH] Changed priority levels... --- .../src/main/java/buttondevteam/core/PlayerListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ButtonCore/src/main/java/buttondevteam/core/PlayerListener.java b/ButtonCore/src/main/java/buttondevteam/core/PlayerListener.java index b8bd6e7..721ef57 100644 --- a/ButtonCore/src/main/java/buttondevteam/core/PlayerListener.java +++ b/ButtonCore/src/main/java/buttondevteam/core/PlayerListener.java @@ -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()); }