Fix compare

This commit is contained in:
Raoul Van den Berge
2016-08-11 23:32:31 +02:00
parent 8f55352330
commit 2ff2623b75

View File

@@ -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);
}