From 1a2530431f4d9f1643ba4ffcfa788a5b4d160f6f Mon Sep 17 00:00:00 2001 From: t3hk0d3 Date: Tue, 30 Oct 2012 23:16:05 +0400 Subject: [PATCH] Removed zeroifing damage. closing #56 --- .../java/ru/tehkode/modifyworld/handlers/EntityListener.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/ru/tehkode/modifyworld/handlers/EntityListener.java b/src/main/java/ru/tehkode/modifyworld/handlers/EntityListener.java index 1440113..688ae0a 100644 --- a/src/main/java/ru/tehkode/modifyworld/handlers/EntityListener.java +++ b/src/main/java/ru/tehkode/modifyworld/handlers/EntityListener.java @@ -71,7 +71,6 @@ public class EntityListener extends ModifyworldListener { protected void cancelDamageEvent(Player player, EntityDamageEvent event) { event.setCancelled(true); - event.setDamage(0); } @EventHandler(priority = EventPriority.LOW)