Items deleted when stacked in Building UIs
Havanacus opened this issue · 7 comments
Minecolonies version
minecolonies-universal-1.10.2-0.4.1870
Tested with
Forge 12.18.2.2179 (latest)
Forge 12.18.2.2123 (One I use)
Forge 12.18.2.2099 (Recommended)
Expected behavior
- Adding items to a stack in a Building Inventory should increase stack size.
Actual behaviour
- Stack size appears to increase, but interacting with stack sets in back to original value. Added items are lost.
Steps to reproduce the problem
- Put 16 dirt in Builder's Hut Inventory.
- Add 10 more to that stack.
- Stack displays 26.
- Click stack to pick up.
- You are the proud owner of 16 dirt.
I've only tested this in SSP.
I noticed while playing The Pilgrim Pack modpack, but tested in an instance with only Minecolonies before I posted.
I was having this issue when using inventorytweaks sorting functions and shift-dragging to move things between containers. Lost a lot of fences/planks etc this way trying to restock builder huts.
I can confirm this on multiplayer server as well as singleplayer. Disabled inventory tweaks in mod folder, but problem persists. Shift-clicking anything stackable into Building Inventories will delete any items added to stack.
Example Repro steps:
-
Place 1 Dirt Block (or anything stackable) into Builders Hut Inventory (or another building inventory).
-
Shift click a stack of 1 or more from your inventory, all items shift-clicked from player inventory will be lost.
Variation from above report, after items are shift-clicked into the Building inventory, the stack size will increment for a split second then decrements back to original value.
I was not able to reproduce this behavior on the individual colonists inventories, shift clicking into their inventories works.