Change EntityDamageEvent listenerpriority to lowest
This commit is contained in:
parent
85c91780c9
commit
283a2a3381
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue