diff --git a/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java b/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java index 73b802aaa..9f73967c7 100644 --- a/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java @@ -119,11 +119,12 @@ public class mcEntityListener implements Listener if(!event.isCancelled() && event.getDamage() >= 1) PP.setRecentlyHurt(System.currentTimeMillis()); } - + break; case WOLF: Wolf wolf = (Wolf) entity; if((wolf.getNoDamageTicks() < wolf.getMaximumNoDamageTicks()/2.0F) && wolf.isTamed() && wolf.getOwner() != null) Taming.preventDamage(event, plugin); + break; } }