From 253e9f18edc3c09854fc98c348ac6855aba9f7d8 Mon Sep 17 00:00:00 2001 From: Nedelosk Date: Sat, 17 Sep 2016 22:23:11 +0200 Subject: [PATCH] Fix #1078 Adding a work Cycle for every pending product --- src/main/java/forestry/factory/tiles/TileCentrifuge.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/main/java/forestry/factory/tiles/TileCentrifuge.java b/src/main/java/forestry/factory/tiles/TileCentrifuge.java index 94927e1c0..ba11a4c1b 100644 --- a/src/main/java/forestry/factory/tiles/TileCentrifuge.java +++ b/src/main/java/forestry/factory/tiles/TileCentrifuge.java @@ -113,10 +113,10 @@ public class TileCentrifuge extends TilePowered implements ISocketable, ISidedIn @Override public boolean workCycle() { - + // If we add pending products, we skip to the next work cycle. if (tryAddPending()) { - return false; + return true; } if (!pendingProducts.isEmpty()) { @@ -180,6 +180,9 @@ public class TileCentrifuge extends TilePowered implements ISocketable, ISidedIn @Override public boolean hasWork() { + if(!pendingProducts.isEmpty()){ + return true; + } checkRecipe(); boolean hasResource = getStackInSlot(InventoryCentrifuge.SLOT_RESOURCE) != null;