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

This commit is contained in:
NuclearW 2012-05-21 07:25:20 -04:00
parent 3f211c6277
commit 0d7c483bd5

View File

@ -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) {