Skip to content

Commit

Permalink
Changed event priority for join event
Browse files Browse the repository at this point in the history
  • Loading branch information
DevLeoko committed Aug 7, 2020
1 parent 5d57bf6 commit 986d251
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public void hotbarItemInteract(PlayerInteractEvent event) {
onInteract(player);
}

@EventHandler(priority = EventPriority.HIGHEST)
@EventHandler(priority = EventPriority.HIGH)
public void hotbarPlayerJoin(PlayerJoinEvent event) {
Player player = event.getPlayer();
if (!getHotbarManager().inDisabledWorld(player.getLocation())) giveItem(player);
Expand Down

0 comments on commit 986d251

Please sign in to comment.