aboutsummaryrefslogtreecommitdiff
path: root/clientmods/inventory/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'clientmods/inventory/init.lua')
-rw-r--r--clientmods/inventory/init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/clientmods/inventory/init.lua b/clientmods/inventory/init.lua
index 52791b338..eff8fa39b 100644
--- a/clientmods/inventory/init.lua
+++ b/clientmods/inventory/init.lua
@@ -5,3 +5,7 @@ dofile(modpath .. "/invhack.lua")
dofile(modpath .. "/enderchest.lua")
dofile(modpath .. "/next_item.lua")
dofile(modpath .. "/autotool.lua")
+
+minetest.register_on_inventory_open(function(inv)
+ print(inv)
+end)