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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user