I'm an idiot.
This commit is contained in:
parent
5e379f052a
commit
67687cd579
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ public class Object3D
|
||||||
|
|
||||||
public TileEntity getTileEntity(IBlockAccess world)
|
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 null;
|
||||||
return world.getBlockTileEntity(xCoord, yCoord, zCoord);
|
return world.getBlockTileEntity(xCoord, yCoord, zCoord);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue