Skip to content

Commit

Permalink
fix: set respawn priority to HIGHEST, *hopefully* beating down other …
Browse files Browse the repository at this point in the history
…plugins
  • Loading branch information
Thatsmusic99 committed Jun 5, 2023
1 parent 3b221aa commit 5caad3c
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -88,7 +88,7 @@ public void onDeath(PlayerDeathEvent e) {
}
}

@EventHandler
@EventHandler(priority = EventPriority.HIGHEST)
public void onRespawn(PlayerRespawnEvent e) {
if (e.getPlayer().hasMetadata("NPC")) return;
CoreClass.debug("Respawn event triggered for " + e.getPlayer().getName() + ".");
Expand Down

0 comments on commit 5caad3c

Please sign in to comment.