Fixed endermen not loading carried-data properly

This commit is contained in:
Dinnerbone 2011-09-20 18:52:37 +01:00
parent 2ae6b431b3
commit 2d1d86b77e

View file

@ -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) {