I'm an idiot.

This commit is contained in:
Ben Spiers 2013-08-22 03:32:24 +01:00
parent 5e379f052a
commit 67687cd579

View file

@ -45,7 +45,7 @@ public class Object3D
public TileEntity getTileEntity(IBlockAccess world)
{
if(!(world instanceof World && ((World)world).blockExists(xCoord, yCoord, yCoord)))
if(!(world instanceof World && ((World)world).blockExists(xCoord, yCoord, zCoord)))
return null;
return world.getBlockTileEntity(xCoord, yCoord, zCoord);
}