Minor change in turntable vector call
This commit is contained in:
parent
ab3815bd0a
commit
9f99aefb35
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ public class BlockTurntable extends BlockRIRotatable
|
||||||
{
|
{
|
||||||
ForgeDirection facing = ForgeDirection.getOrientation(world.getBlockMetadata(x, y, z));
|
ForgeDirection facing = ForgeDirection.getOrientation(world.getBlockMetadata(x, y, z));
|
||||||
|
|
||||||
Vector3 position = new Vector3(x, y, z).modifyPositionFromSide(facing);
|
Vector3 position = new Vector3(x, y, z).translate(facing);
|
||||||
TileEntity tileEntity = position.getTileEntity(world);
|
TileEntity tileEntity = position.getTileEntity(world);
|
||||||
Block block = Block.blocksList[position.getBlockID(world)];
|
Block block = Block.blocksList[position.getBlockID(world)];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue