mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2025-01-13 03:40:39 +01:00
format
This commit is contained in:
parent
c991c863e1
commit
96cf0e23d4
@ -77,7 +77,7 @@ public class EventListen implements Listener {
|
||||
if (!npcManager.isNPC(event.getEntity()))
|
||||
return;
|
||||
|
||||
event.setCancelled(true); // TODO implement damage handlers
|
||||
event.setCancelled(true);
|
||||
if (event instanceof EntityDamageByEntityEvent) {
|
||||
EntityDamageByEntityEvent e = (EntityDamageByEntityEvent) event;
|
||||
if (e.getDamager() instanceof Player) {
|
||||
|
Loading…
Reference in New Issue
Block a user