Fix Sorter facing calculation.
This commit is contained in:
parent
a8d04828ea
commit
87a692a325
1 changed files with 1 additions and 1 deletions
|
@ -681,7 +681,7 @@ public class BlockMachine extends BlockContainer implements ISpecialBounds, IPer
|
||||||
{
|
{
|
||||||
TileEntity tile = Coord4D.get(tileEntity).getFromSide(dir).getTileEntity(world);
|
TileEntity tile = Coord4D.get(tileEntity).getFromSide(dir).getTileEntity(world);
|
||||||
|
|
||||||
if(tileEntity instanceof IInventory)
|
if(tile instanceof IInventory)
|
||||||
{
|
{
|
||||||
change = dir.getOpposite().ordinal();
|
change = dir.getOpposite().ordinal();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue