Closed fluxionary closed 1 year ago
per this engine PR, https://github.com/minetest/minetest/pull/13286
The replace_with_item can be added to the slot of the wield item, which is afterwards overwritten. This causes item loss. This PR fixes this. Also, if the inventory is full, the replace item is first split up and only the remains are dropped.
per this engine PR, https://github.com/minetest/minetest/pull/13286