Fixed Mana Spreader redstone control not being functional.

This commit is contained in:
Vasco Lavos committed 2014-07-11 22:28:14 +01:00
1 parent 5f21a1565a
commit 27d5bb63f1
1 file changed
+1 -1
@@ -172,7 +172,7 @@ public class TileSpreader extends TileSimpleInventory implements IManaCollector,
if(isRedstone())
shouldShoot = redstone && !redstoneLastTick;
if(receiver != null && receiver instanceof IKeyLocked)
if(shouldShoot && receiver != null && receiver instanceof IKeyLocked)
shouldShoot = ((IKeyLocked) receiver).getInputKey().equals(getOutputKey());
if(shouldShoot)