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:
Ursprung
616d88c604
Commit
668c2bffdb
@ -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;
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren