Incorrect sequence of calling callbacks on_take
& on_put
on swapping items in inventory
#13486
Labels
on_take
& on_put
on swapping items in inventory
#13486
Minetest version
OS / Hardware
Operating system: Kubuntu 22.04.2 LTS
Summary
When swapping items in inventory, MT calls:
on_put
on_take
It will be better if MT calls it in reverse order:
on_take
on_put
Steps to reproduce
For example, with LOTT game:
woodenTraining one and swap it with MithrilAs result:
The text was updated successfully, but these errors were encountered: