Fixed #287 - Grinding only making one output

This commit is contained in:
Calclavia 2014-02-26 14:05:50 +08:00
parent 14131914b3
commit 913490587c

View file

@ -142,12 +142,9 @@ public class TileGrinderWheel extends TileMechanical implements IRotatable
entityItem.motionZ = 0;
this.worldObj.spawnEntityInWorld(entityItem);
}
return true;
}
return false;
return results.length > 0;
}
@Override
@ -181,7 +178,7 @@ public class TileGrinderWheel extends TileMechanical implements IRotatable
@Override
public boolean inverseRotation(ForgeDirection dir, IMechanical with)
{
return !(dir.offsetX > 0 || dir.offsetZ < 0|| dir.offsetY < 0);
return !(dir.offsetX > 0 || dir.offsetZ < 0 || dir.offsetY < 0);
}
}