Fixed down-slope power transmission
(Off-by-one error, sir... XD)
This commit is contained in:
parent
85cf225efb
commit
f374e916b9
1 changed files with 2 additions and 2 deletions
|
@ -84,12 +84,12 @@ public class TileEntityConveyorBelt extends TileEntityAssemblyNetwork implements
|
|||
{
|
||||
ForgeDirection direction = this.getDirection();
|
||||
|
||||
//if (d == 1)
|
||||
if (d == 1)
|
||||
{
|
||||
direction = direction.getOpposite();
|
||||
}
|
||||
|
||||
for (int i = -1; i < 1; i++)
|
||||
for (int i = -1; i <= 1; i++)
|
||||
{
|
||||
TileEntity tileEntity = worldObj.getBlockTileEntity(this.xCoord + direction.offsetX, this.yCoord + i, this.zCoord + direction.offsetZ);
|
||||
if (tileEntity != null)
|
||||
|
|
Loading…
Reference in a new issue