Changed to dealDamage()

This commit is contained in:
nossr50 2012-03-01 06:48:59 -08:00
parent d099bc562b
commit ee1e128c5a

View File

@ -139,7 +139,7 @@ public class Axes {
{
if(Math.random() * 100 > 75)
{
target.damage(2);
Combat.dealDamage(target, 2, attacker);
target.setVelocity(attacker.getLocation().getDirection().normalize().multiply(1.5D));
return true;
}