3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-12-23 14:50:08 +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;
}
public boolean isCritical() {
return getHandle().f();
}
public void setCritical(boolean critical) {
getHandle().a(critical);
}
@Override
public EntityArrow getHandle() {
return (EntityArrow) entity;