forked from xjboss/KCauldronX
Allow pseudo-real semi-infernal chunks for trees, fix #273
This commit is contained in:
parent
d98e2ca8f6
commit
3926aa3878
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user