Skip to content
Permalink
Browse files

Workaround spigot(?) issue

  • Loading branch information...
mcmonkey4eva committed Aug 30, 2017
1 parent e2f5778 commit 881b4a7b1c88bc374d8dcfcb1d2fb3ad4741720a
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/main/java/org/mcmonkey/sentinel/SentinelTrait.java
@@ -278,6 +278,7 @@ public void whenAttacksAreHappening(EntityDamageByEntityEvent event) {
SentinelPlugin.instance.getLogger().info("Sentinel: refuse damage enforcement");
}
}
event.setDamage(0);
event.setCancelled(true);
return;
}
@@ -299,6 +300,7 @@ public void whenAttacksAreHappening(EntityDamageByEntityEvent event) {
SentinelPlugin.instance.getLogger().info("Sentinel: refuse damage enforcement");
}
}
event.setDamage(0);
event.setCancelled(true);
return;
}

0 comments on commit 881b4a7

Please sign in to comment.
You can’t perform that action at this time.