This commit is contained in:
@@ -68,12 +68,10 @@ public class ProcessingNode extends Node {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void update(INetwork network, int ticks, NodeList nodes, IStorageDisk<ItemStack> internalStorage, IStorageDisk<FluidStack> internalFluidStorage, NodeListener listener) {
|
public void update(INetwork network, int ticks, NodeList nodes, IStorageDisk<ItemStack> internalStorage, IStorageDisk<FluidStack> internalFluidStorage, NodeListener listener) {
|
||||||
|
if (getQuantity() <= 0) {
|
||||||
if (state == ProcessingState.PROCESSED) {
|
if (state == ProcessingState.PROCESSED) {
|
||||||
listener.onAllDone(this);
|
listener.onAllDone(this);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (getQuantity() <= 0) {
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user