From 2ff2623b75d59bfad423c189becc0fda555ded81 Mon Sep 17 00:00:00 2001 From: Raoul Van den Berge Date: Thu, 11 Aug 2016 23:32:31 +0200 Subject: [PATCH] Fix compare --- .../refinedstorage/apiimpl/storage/item/GroupedItemStorage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/refinedstorage/apiimpl/storage/item/GroupedItemStorage.java b/src/main/java/refinedstorage/apiimpl/storage/item/GroupedItemStorage.java index 8977c1ff5..4c751672e 100755 --- a/src/main/java/refinedstorage/apiimpl/storage/item/GroupedItemStorage.java +++ b/src/main/java/refinedstorage/apiimpl/storage/item/GroupedItemStorage.java @@ -81,7 +81,7 @@ public class GroupedItemStorage implements IGroupedItemStorage { if (CompareUtils.compareStackNoQuantity(otherStack, stack)) { otherStack.stackSize -= stack.stackSize; - if (otherStack.stackSize <= 0) { + if (otherStack.stackSize == 0) { if (!NetworkUtils.hasPattern(network, stack)) { stacks.remove(otherStack.getItem(), otherStack); }