fix interface dupe (#2873)
This commit is contained in:
@@ -82,7 +82,7 @@ public class ItemStorageDisk implements IStorageDisk<ItemStack> {
|
||||
@Nonnull
|
||||
public ItemStack insert(@Nonnull ItemStack stack, int size, Action action) {
|
||||
if (stack.isEmpty() || itemCount == capacity) {
|
||||
return stack;
|
||||
return ItemHandlerHelper.copyStackWithSize(stack, size);
|
||||
}
|
||||
|
||||
for (ItemStack otherStack : stacks.get(stack.getItem())) {
|
||||
|
Reference in New Issue
Block a user