mirror of
https://github.com/CitizensDev/Citizens2.git
synced 2024-11-26 20:55:44 +01:00
format
This commit is contained in:
parent
1a25986d27
commit
bdc81f1b95
@ -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