SPIGOT-973: Add marker API to ArmorStand
By: Nathan Wolf <nathan@elmakers.com>
This commit is contained in:
@@ -51,3 +51,21 @@
|
||||
if (this.world.isClientSide) {
|
||||
return false;
|
||||
} else if (DamageSource.OUT_OF_WORLD.equals(damagesource)) {
|
||||
@@ -616,7 +646,8 @@
|
||||
return (this.datawatcher.getByte(10) & 8) != 0;
|
||||
}
|
||||
|
||||
- private void n(boolean flag) {
|
||||
+ // PAIL
|
||||
+ public void n(boolean flag) { // CraftBukkit - public
|
||||
byte b0 = this.datawatcher.getByte(10);
|
||||
|
||||
if (flag) {
|
||||
@@ -628,6 +659,7 @@
|
||||
this.datawatcher.watch(10, Byte.valueOf(b0));
|
||||
}
|
||||
|
||||
+ // PAIL
|
||||
public boolean s() {
|
||||
return (this.datawatcher.getByte(10) & 16) != 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user