From f6eff57f7cf504c715f9b58147667f2ae77732c0 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Sat, 31 Mar 2018 12:30:43 +0200 Subject: Add player inventory callbacks --- builtin/game/register.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'builtin/game') 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() -- cgit v1.2.3