1
0
mirror of https://github.com/mcMMO-Dev/mcMMO.git synced 2026-02-20 18:53:11 +01:00

Fixed ClassCastException with Taming

This commit is contained in:
GJ
2012-03-04 23:11:31 -05:00
parent dc9acbc3c9
commit 4d99fe7230
4 changed files with 6 additions and 16 deletions

View File

@@ -167,16 +167,6 @@ public class Combat
Swords.counterAttackChecks(event);
Acrobatics.dodgeChecks(event);
}
/*
* DEFENSIVE CHECKS FOR WOLVES
*/
//else if(target instanceof Wolf)
//{
// Wolf wolf = (Wolf) target;
// if(wolf.isTamed() && (wolf.getOwner() instanceof Player))
// Taming.preventDamage(event, pluginx);
//}
}
public static void combatAbilityChecks(Player attacker, PlayerProfile PPa)