Fix compare
This commit is contained in:
@@ -81,7 +81,7 @@ public class GroupedItemStorage implements IGroupedItemStorage {
|
|||||||
if (CompareUtils.compareStackNoQuantity(otherStack, stack)) {
|
if (CompareUtils.compareStackNoQuantity(otherStack, stack)) {
|
||||||
otherStack.stackSize -= stack.stackSize;
|
otherStack.stackSize -= stack.stackSize;
|
||||||
|
|
||||||
if (otherStack.stackSize <= 0) {
|
if (otherStack.stackSize == 0) {
|
||||||
if (!NetworkUtils.hasPattern(network, stack)) {
|
if (!NetworkUtils.hasPattern(network, stack)) {
|
||||||
stacks.remove(otherStack.getItem(), otherStack);
|
stacks.remove(otherStack.getItem(), otherStack);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user