summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorDinnerbone <dinnerbone@dinnerbone.com>2011-09-20 18:52:37 +0100
committerDinnerbone <dinnerbone@dinnerbone.com>2011-09-20 18:52:37 +0100
commit2d1d86b77e1e3a8612718bb0c523aa90c58ee900 (patch)
treed7e84fb617f88826adbb2f754bfa85054944b78e /src/main/java
parent2ae6b431b3753cf12db77e511bab54ea701ac44f (diff)
downloadcraftbukkit-2d1d86b77e1e3a8612718bb0c523aa90c58ee900.tar
craftbukkit-2d1d86b77e1e3a8612718bb0c523aa90c58ee900.tar.gz
craftbukkit-2d1d86b77e1e3a8612718bb0c523aa90c58ee900.tar.lz
craftbukkit-2d1d86b77e1e3a8612718bb0c523aa90c58ee900.tar.xz
craftbukkit-2d1d86b77e1e3a8612718bb0c523aa90c58ee900.zip
Fixed endermen not loading carried-data properly
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/net/minecraft/server/EntityEnderman.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/EntityEnderman.java b/src/main/java/net/minecraft/server/EntityEnderman.java
index ebef1c62..72586203 100644
--- a/src/main/java/net/minecraft/server/EntityEnderman.java
+++ b/src/main/java/net/minecraft/server/EntityEnderman.java
@@ -31,7 +31,7 @@ public class EntityEnderman extends EntityMonster {
public void b(NBTTagCompound nbttagcompound) {
super.b(nbttagcompound);
nbttagcompound.a("carried", (short) this.getCarriedId());
- nbttagcompound.a("carriedData", (short) this.getCarriedData());
+ nbttagcompound.a("carryingData", (short) this.getCarriedData()); // Craftbukkit - fixed from carriedData
}
public void a(NBTTagCompound nbttagcompound) {