diff options
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftArrow.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftArrow.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftArrow.java index bea6067c..3f1bcd25 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftArrow.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftArrow.java @@ -37,6 +37,14 @@ public class CraftArrow extends AbstractProjectile implements Arrow { return getHandle().aw; } + public boolean isCritical() { + return getHandle().f(); + } + + public void setCritical(boolean critical) { + getHandle().a(critical); + } + @Override public EntityArrow getHandle() { return (EntityArrow) entity; |