Move onJoinMessage to HIGH priority

This commit is contained in:
Gabriele C 2021-06-07 02:26:58 +02:00
parent 5be9b380e5
commit f2a660712e

View File

@ -190,7 +190,7 @@ public class PlayerListener implements Listener {
teleportationService.teleportNewPlayerToFirstSpawn(player);
}
@EventHandler(priority = EventPriority.HIGHEST)
@EventHandler(priority = EventPriority.HIGH) // HIGH as EssentialsX listens at HIGHEST
public void onJoinMessage(PlayerJoinEvent event) {
final Player player = event.getPlayer();