Set PlayerJoinEvent listener priority to lowest.

This commit is contained in:
DNx5 2016-01-23 19:31:02 +07:00
parent 3c88482e22
commit 726861a2a1

View File

@ -185,7 +185,7 @@ public class AuthMePlayerListener implements Listener {
} }
} }
@EventHandler(priority = EventPriority.LOW) @EventHandler(priority = EventPriority.LOWEST)
public void onPlayerJoin(PlayerJoinEvent event) { public void onPlayerJoin(PlayerJoinEvent event) {
final Player player = event.getPlayer(); final Player player = event.getPlayer();
if (player == null) { if (player == null) {