Change EntityDamageEvent listenerpriority to lowest

This commit is contained in:
fullwall 2023-04-24 21:27:15 +08:00
parent 85c91780c9
commit 283a2a3381
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ public class EventListen implements Listener {
}
}
@EventHandler
@EventHandler(priority = EventPriority.LOWEST)
public void onEntityDamage(EntityDamageEvent event) {
NPC npc = CitizensAPI.getNPCRegistry().getNPC(event.getEntity());
if (npc == null) {