diff options
author | SmallJoker <mk939@ymail.com> | 2018-03-31 12:30:43 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-04-02 17:18:48 +0200 |
commit | f6eff57f7cf504c715f9b58147667f2ae77732c0 (patch) | |
tree | 0c6c9abd6fb663e042bc16e63ad484df423d77a2 /builtin/game | |
parent | 12edb200eb0b61972418a95c704fc1c3dd6357cf (diff) | |
download | minetest-f6eff57f7cf504c715f9b58147667f2ae77732c0.tar.gz minetest-f6eff57f7cf504c715f9b58147667f2ae77732c0.tar.bz2 minetest-f6eff57f7cf504c715f9b58147667f2ae77732c0.zip |
Add player inventory callbacks
Diffstat (limited to 'builtin/game')
-rw-r--r-- | builtin/game/register.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/builtin/game/register.lua b/builtin/game/register.lua index 7b2b149e3..1e478bc35 100644 --- a/builtin/game/register.lua +++ b/builtin/game/register.lua @@ -593,6 +593,8 @@ core.registered_on_priv_revoke, core.register_on_priv_revoke = make_registration core.registered_can_bypass_userlimit, core.register_can_bypass_userlimit = make_registration() core.registered_on_modchannel_message, core.register_on_modchannel_message = make_registration() core.registered_on_auth_fail, core.register_on_auth_fail = make_registration() +core.registered_on_player_inventory_actions, core.register_on_player_inventory_action = make_registration() +core.registered_allow_player_inventory_actions, core.register_allow_player_inventory_action = make_registration() -- -- Compatibility for on_mapgen_init() |