Fixed chunk corruption with mobspawners

This commit is contained in:
Dinner Bone 2011-01-25 10:14:06 -08:00
parent 02a1c24746
commit 0ba870434e

View File

@ -97,7 +97,7 @@ public class TileEntityMobSpawner extends TileEntity {
public void a(NBTTagCompound nbttagcompound) {
super.a(nbttagcompound);
h = nbttagcompound.h("EntityId");
e = ((int) (nbttagcompound.c("Delay")));
e = ((short) (nbttagcompound.c("Delay")));
}
public void b(NBTTagCompound nbttagcompound) {