mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-05 10:20:11 +01:00
Accept all damageevents for detecting left clicks, even cancelled ones
This commit is contained in:
parent
79162388f9
commit
8549508f97
@ -188,7 +188,7 @@ public class EventListen implements Listener {
|
||||
}
|
||||
}
|
||||
|
||||
@EventHandler(ignoreCancelled = true)
|
||||
@EventHandler
|
||||
public void onEntityDamage(EntityDamageEvent event) {
|
||||
NPC npc = npcRegistry.getNPC(event.getEntity());
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user