geforkt von Mirrors/Paper
SPIGOT-5782: Set Arrow Launched From Crossbow
Dieser Commit ist enthalten in:
Ursprung
833da9c47d
Commit
be6aaf046e
@ -110,6 +110,16 @@ public class CraftArrow extends AbstractProjectile implements AbstractArrow {
|
||||
getHandle().despawnCounter = value;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isShotFromCrossbow() {
|
||||
return getHandle().r();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setShotFromCrossbow(boolean shotFromCrossbow) {
|
||||
getHandle().o(shotFromCrossbow);
|
||||
}
|
||||
|
||||
@Override
|
||||
public EntityArrow getHandle() {
|
||||
return (EntityArrow) entity;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren