Fixed down-slope power transmission

(Off-by-one error, sir... XD)
This commit is contained in:
Brian Ricketts 2012-12-29 18:37:35 -06:00
parent 85cf225efb
commit f374e916b9

View file

@ -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)