diff --git a/pom.xml b/pom.xml index 2311d9e..3add544 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ org.garsooon CustomMessages - 1.0.1 + 1.0.2 jar diff --git a/src/main/java/org/garsooon/custommessages/CustomMessages.java b/src/main/java/org/garsooon/custommessages/CustomMessages.java index f67ed56..9758f61 100644 --- a/src/main/java/org/garsooon/custommessages/CustomMessages.java +++ b/src/main/java/org/garsooon/custommessages/CustomMessages.java @@ -40,9 +40,9 @@ public void onEnable() { loadBlacklist(); PluginManager pm = getServer().getPluginManager(); - pm.registerEvent(Event.Type.PLAYER_JOIN, playerListener, Event.Priority.Normal, this); - pm.registerEvent(Event.Type.PLAYER_QUIT, playerListener, Event.Priority.Normal, this); - pm.registerEvent(Event.Type.PLAYER_KICK, playerListener, Event.Priority.Normal, this); + pm.registerEvent(Event.Type.PLAYER_JOIN, playerListener, Event.Priority.Highest, this); + pm.registerEvent(Event.Type.PLAYER_QUIT, playerListener, Event.Priority.Highest, this); + pm.registerEvent(Event.Type.PLAYER_KICK, playerListener, Event.Priority.Highest, this); getServer().getLogger().info("[CustomMessages] Plugin enabled!"); } diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index 3d53f0d..4d8d7e2 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,5 +1,5 @@ name: CustomMessages -version: 1.0.1 +version: 1.0.2 main: org.garsooon.custommessages.CustomMessages author: Garsooon