mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-02-27 09:42:37 +01:00
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
Block a user