mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
Changed to dealDamage()
This commit is contained in:
parent
d099bc562b
commit
ee1e128c5a
@ -139,7 +139,7 @@ public class Axes {
|
|||||||
{
|
{
|
||||||
if(Math.random() * 100 > 75)
|
if(Math.random() * 100 > 75)
|
||||||
{
|
{
|
||||||
target.damage(2);
|
Combat.dealDamage(target, 2, attacker);
|
||||||
target.setVelocity(attacker.getLocation().getDirection().normalize().multiply(1.5D));
|
target.setVelocity(attacker.getLocation().getDirection().normalize().multiply(1.5D));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user