From 1cc36d08bddc72b2d70ade83f4c0c4b85ab7774d Mon Sep 17 00:00:00 2001 From: Jikoo Date: Wed, 11 Mar 2020 09:17:17 -0400 Subject: [PATCH] Modify players before other plugins access them Closes #123 --- .../main/java/com/lishid/openinv/listeners/PlayerListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/main/java/com/lishid/openinv/listeners/PlayerListener.java b/plugin/src/main/java/com/lishid/openinv/listeners/PlayerListener.java index a9b1cc3..390a65c 100644 --- a/plugin/src/main/java/com/lishid/openinv/listeners/PlayerListener.java +++ b/plugin/src/main/java/com/lishid/openinv/listeners/PlayerListener.java @@ -37,7 +37,7 @@ public class PlayerListener implements Listener { this.plugin = plugin; } - @EventHandler(priority = EventPriority.MONITOR) + @EventHandler(priority = EventPriority.LOWEST) public void onPlayerJoin(final PlayerJoinEvent event) { plugin.setPlayerOnline(event.getPlayer()); }