diff options
author | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-24 22:03:31 +0100 |
---|---|---|
committer | Dinnerbone <dinnerbone@dinnerbone.com> | 2011-09-24 22:05:22 +0100 |
commit | 0118a20d6a4d5637504b26998bfd96c7a65ddbe1 (patch) | |
tree | 3015971c8bd61d17e7da8f00d4b3b5db01f7e9b3 /src/main/java/net/minecraft/server/EntitySheep.java | |
parent | 75ac4e00b27d05627a3c4ffde7879a37dd612d02 (diff) | |
download | craftbukkit-0118a20d6a4d5637504b26998bfd96c7a65ddbe1.tar craftbukkit-0118a20d6a4d5637504b26998bfd96c7a65ddbe1.tar.gz craftbukkit-0118a20d6a4d5637504b26998bfd96c7a65ddbe1.tar.lz craftbukkit-0118a20d6a4d5637504b26998bfd96c7a65ddbe1.tar.xz craftbukkit-0118a20d6a4d5637504b26998bfd96c7a65ddbe1.zip |
Update to mcdev rename revision 01 for 1.8.1
Diffstat (limited to 'src/main/java/net/minecraft/server/EntitySheep.java')
-rw-r--r-- | src/main/java/net/minecraft/server/EntitySheep.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/net/minecraft/server/EntitySheep.java b/src/main/java/net/minecraft/server/EntitySheep.java index f32ecb2a..64bce954 100644 --- a/src/main/java/net/minecraft/server/EntitySheep.java +++ b/src/main/java/net/minecraft/server/EntitySheep.java @@ -82,21 +82,21 @@ public class EntitySheep extends EntityAnimal { } public int getColor() { - return this.datawatcher.a(16) & 15; + return this.datawatcher.getByte(16) & 15; } public void setColor(int i) { - byte b0 = this.datawatcher.a(16); + byte b0 = this.datawatcher.getByte(16); this.datawatcher.watch(16, Byte.valueOf((byte) (b0 & 240 | i & 15))); } public boolean isSheared() { - return (this.datawatcher.a(16) & 16) != 0; + return (this.datawatcher.getByte(16) & 16) != 0; } public void setSheared(boolean flag) { - byte b0 = this.datawatcher.a(16); + byte b0 = this.datawatcher.getByte(16); if (flag) { this.datawatcher.watch(16, Byte.valueOf((byte) (b0 | 16))); |