13
0
geforkt von Mirrors/Paper

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

By: MorphanOne <morphanone@gmail.com>
Dieser Commit ist enthalten in:
CraftBukkit/Spigot 2013-12-16 22:30:13 -05:00
Ursprung 616d88c604
Commit 668c2bffdb

Datei anzeigen

@ -37,6 +37,14 @@ public class CraftArrow extends AbstractProjectile implements Arrow {
return getHandle().aw; return getHandle().aw;
} }
public boolean isCritical() {
return getHandle().f();
}
public void setCritical(boolean critical) {
getHandle().a(critical);
}
@Override @Override
public EntityArrow getHandle() { public EntityArrow getHandle() {
return (EntityArrow) entity; return (EntityArrow) entity;