Fixed NPE

This commit is contained in:
marcin212 committed 2017-06-04 23:37:45 +02:00
1 parent b772f7c305
commit 14bedffe0e
1 file changed
+1 -1
@@ -111,7 +111,7 @@ public class TransferRequest {
merged.grow(space);
} else if (itemstack.getCount() <= space) {
merged.grow(itemstack.getCount());
itemstack = null;
itemstack = ItemStack.EMPTY;
}
}
}