From 913490587c238037a766d98e2f253d81b89cef19 Mon Sep 17 00:00:00 2001 From: Calclavia Date: Wed, 26 Feb 2014 14:05:50 +0800 Subject: [PATCH] Fixed #287 - Grinding only making one output --- .../mechanical/process/grinder/TileGrinderWheel.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mechanical/src/main/java/resonantinduction/mechanical/process/grinder/TileGrinderWheel.java b/mechanical/src/main/java/resonantinduction/mechanical/process/grinder/TileGrinderWheel.java index 44096580b..36cba3bdf 100644 --- a/mechanical/src/main/java/resonantinduction/mechanical/process/grinder/TileGrinderWheel.java +++ b/mechanical/src/main/java/resonantinduction/mechanical/process/grinder/TileGrinderWheel.java @@ -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); } }