mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-25 10:29:41 -05:00
SPIGOT-973: Add marker API to ArmorStand
This commit is contained in:
1 parent
f4ecc39ffc
commit
1880a9c0b6
2 files changed
+30
No files matched your search
@@ -204,4 +204,16 @@ public class CraftArmorStand extends CraftLivingEntity implements ArmorStand {
|
||||
(float) Math.toDegrees(old.getZ())
|
||||
);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isMarker() {
|
||||
// PAIL
|
||||
return getHandle().s();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setMarker(boolean marker) {
|
||||
// PAIL
|
||||
getHandle().n(marker);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user