diff --git a/src/main/java/net/minecraft/server/OldChunkLoader.java b/src/main/java/net/minecraft/server/OldChunkLoader.java index d615aa4861..3abcc2fce8 100644 --- a/src/main/java/net/minecraft/server/OldChunkLoader.java +++ b/src/main/java/net/minecraft/server/OldChunkLoader.java @@ -18,7 +18,15 @@ public class OldChunkLoader { oldchunk.h = nbttagcompound.getList("Entities"); oldchunk.i = nbttagcompound.getList("TileEntities"); oldchunk.j = nbttagcompound.getList("TileTicks"); - oldchunk.a = nbttagcompound.getLong("LastUpdate"); + + // CraftBukkit start + try { + oldchunk.a = nbttagcompound.getLong("LastUpdate"); + } catch (ClassCastException ex) { + oldchunk.a = nbttagcompound.getInt("LastUpdate"); + } + // CraftBukkit end + return oldchunk; }