SPIGOT-973: Add marker API to ArmorStand

This commit is contained in:
Nathan Wolf authored and md_5 committed 2015-06-09 09:36:31 +10:00
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);
}
}