3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-19 13:00:06 +01:00

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

Dieser Commit ist enthalten in:
MorphanOne 2013-12-16 22:30:13 -05:00 committet von Nate Mortensen
Ursprung fb8c5547b3
Commit ac53442e7e

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;