Exclude special slots

This commit is contained in:
abel1502 2025-06-28 23:23:16 +03:00
parent db109d8bcf
commit 997e96f757
No known key found for this signature in database
GPG Key ID: 076926596A536338

View File

@ -127,7 +127,7 @@ public class TileEntityCraneExtractor extends TileEntityCraneBase implements IGU
sendItem(stack, belt, outputSide);
} else {
stack.stackSize = toSend;
ItemStack remaining = InventoryUtil.tryAddItemToInventory(this.slots, stack);
ItemStack remaining = InventoryUtil.tryAddItemToInventory(this.slots, 9, 17, stack);
inv.decrStackSize(index, toSend - (remaining == null ? 0 : remaining.stackSize));
}
hasSent = true;