Add setCritical and isCritical methods to CraftArrow.java. Adds BUKKIT-5113

By: MorphanOne <morphanone@gmail.com>
This commit is contained in:
CraftBukkit/Spigot 2013-12-16 22:30:13 -05:00
parent 616d88c604
commit 668c2bffdb

View file

@ -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;