mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
swap 'action' and 'mode' on_inventory_interact arguments & minor refactor
This commit is contained in:
parent
1f7696e972
commit
c435c6080a
6 changed files with 75 additions and 41 deletions
|
|
@ -108,7 +108,7 @@ namespace scripting {
|
|||
|
||||
void on_inventory_open(const Player* player, const Inventory& inventory);
|
||||
void on_inventory_closed(const Player* player, const Inventory& inventory);
|
||||
void on_inventory_interact(int invid, int slot, int mode, int action);
|
||||
void on_inventory_interact(int invid, int slot, int action, int mode);
|
||||
|
||||
void on_player_tick(Player* player, int tps);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue