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