mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-26 18:21:04 +00:00
Inventory: Fix order of callbacks when swapping items
This commit is contained in:
parent
d5d6e36ae0
commit
4245a7604b
6 changed files with 119 additions and 95 deletions
|
@ -191,7 +191,8 @@ struct IMoveAction : public InventoryAction, public MoveAction
|
|||
|
||||
void swapDirections();
|
||||
|
||||
void onPutAndOnTake(const ItemStack &src_item, ServerActiveObject *player) const;
|
||||
void onTake(const ItemStack &src_item, ServerActiveObject *player) const;
|
||||
void onPut(const ItemStack &src_item, ServerActiveObject *player) const;
|
||||
|
||||
void onMove(int count, ServerActiveObject *player) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue