Skip to content

Commit

Permalink
fix(PlayerListeners): Change the event priority to HIGHEST
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgeV220 committed May 6, 2023
1 parent 3eff65b commit 79d60fe
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -12,7 +12,7 @@ public class PlayerListeners implements EventListener {

private final SkinOverlay skinOverlay = SkinOverlay.getInstance();

@EventHandler(priority = EventPriority.LOWEST, ignoreCancelled = true)
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
public void onConnection(@NotNull PlayerObjectConnectionEvent event) {
switch (event.getConnectionType()) {
case CONNECT -> event.getPlayerObject().playerJoin();
Expand Down

0 comments on commit 79d60fe

Please sign in to comment.