1
0
Fork 0

Allow pseudo-real semi-infernal chunks for trees, fix #273

kcx-1614
Sergey Shatunov 2016-02-04 22:35:14 +07:00
parent d98e2ca8f6
commit 3926aa3878
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ public class CraftChunk implements Chunk {
this.weakChunk = new WeakReference<net.minecraft.world.chunk.Chunk>(chunk);
}
worldServer = (net.minecraft.world.WorldServer) getHandle().worldObj;
worldServer = getHandle().worldObj instanceof net.minecraft.world.WorldServer ? (net.minecraft.world.WorldServer) getHandle().worldObj : null;
x = getHandle().xPosition;
z = getHandle().zPosition;
}