Add setCritical and isCritical methods to CraftArrow.java. Adds BUKKIT-5113
Dieser Commit ist enthalten in:
Ursprung
fb8c5547b3
Commit
ac53442e7e
@ -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;
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren