mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
Exclude special slots
This commit is contained in:
parent
db109d8bcf
commit
997e96f757
@ -127,7 +127,7 @@ public class TileEntityCraneExtractor extends TileEntityCraneBase implements IGU
|
|||||||
sendItem(stack, belt, outputSide);
|
sendItem(stack, belt, outputSide);
|
||||||
} else {
|
} else {
|
||||||
stack.stackSize = toSend;
|
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));
|
inv.decrStackSize(index, toSend - (remaining == null ? 0 : remaining.stackSize));
|
||||||
}
|
}
|
||||||
hasSent = true;
|
hasSent = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user