Browse Source

Tameable not a part of combat checks at the moment, only wolves

NuclearW 13 years ago
parent
commit
0d7c483bd5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/gmail/nossr50/util/Combat.java

+ 1 - 1
src/main/java/com/gmail/nossr50/util/Combat.java

@@ -148,7 +148,7 @@ public class Combat {
             else if (itemInHand.getType().equals(Material.BONE) && permInstance.beastLore(attacker)) {
                 Taming.beastLore(event, target, attacker);
             }
-        } else if (damager instanceof Tameable) {
+        } else if (damager instanceof Wolf) {
             Wolf wolf = (Wolf) damager;
 
             if (wolf.isTamed() && wolf.getOwner() instanceof Player) {