mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-16 10:45:02 +00:00
Fix shift-click from Chisel into full inventory (#69)
Co-authored-by: Maya <[email protected]>
This commit is contained in:
1 parent
f95fa2752f
commit
e969289b22
8 files changed
+18
-8
No files matched your search
@@ -119,6 +119,10 @@ public class ContainerChisel extends Container {
|
||||
InventoryChiselSelection.normalSlots + 1 + 36,
|
||||
false)) {
|
||||
entity.inventory.setItemStack(itemstack1);
|
||||
if (slotIdx == InventoryChiselSelection.normalSlots) {
|
||||
slot.onPickupFromSlot(entity, itemstack1);
|
||||
slot.putStack(null);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user