diff options
author | Nathan Wolf <nathan@elmakers.com> | 2015-06-09 09:34:37 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2015-06-09 09:36:31 +1000 |
commit | 1880a9c0b69523a09917d2baffc634ddf506cabb (patch) | |
tree | 7b320706dad9ff512df6595e08c38a35210dabe0 /src | |
parent | f4ecc39ffc711fdc3da07e8d869ab5c15b9296dc (diff) | |
download | craftbukkit-1880a9c0b69523a09917d2baffc634ddf506cabb.tar craftbukkit-1880a9c0b69523a09917d2baffc634ddf506cabb.tar.gz craftbukkit-1880a9c0b69523a09917d2baffc634ddf506cabb.tar.lz craftbukkit-1880a9c0b69523a09917d2baffc634ddf506cabb.tar.xz craftbukkit-1880a9c0b69523a09917d2baffc634ddf506cabb.zip |
SPIGOT-973: Add marker API to ArmorStand
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/entity/CraftArmorStand.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/entity/CraftArmorStand.java b/src/main/java/org/bukkit/craftbukkit/entity/CraftArmorStand.java index 741b7654..09443fe1 100644 --- a/src/main/java/org/bukkit/craftbukkit/entity/CraftArmorStand.java +++ b/src/main/java/org/bukkit/craftbukkit/entity/CraftArmorStand.java @@ -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); + } } |