diff options
Diffstat (limited to 'src/main/java/org/bukkit/craftbukkit/entity/CraftArrow.java')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftArrow.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftArrow.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftArrow.java index 4c319a7f..4f8d47d6 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftArrow.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftArrow.java @@ -17,19 +17,19 @@ public class CraftArrow extends AbstractProjectile implements Arrow { public void setKnockbackStrength(int knockbackStrength) { Validate.isTrue(knockbackStrength >= 0, "Knockback cannot be negative"); - getHandle().a(knockbackStrength); + getHandle().setKnockbackStrength(knockbackStrength); } public int getKnockbackStrength() { - return getHandle().aw; + return getHandle().knockbackStrength; } public boolean isCritical() { - return getHandle().f(); + return getHandle().isCritical(); } public void setCritical(boolean critical) { - getHandle().a(critical); + getHandle().setCritical(critical); } public ProjectileSource getShooter() { |