summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/init.lua b/init.lua
new file mode 100644
index 0000000..cc170a0
--- /dev/null
+++ b/init.lua
@@ -0,0 +1,11 @@
+-- Unified Inventory mod 0.4.6
+
+-- disable default creative inventory
+if creative_inventory then
+ creative_inventory.set_creative_formspec = function(player, start_i, pagenum)
+ return
+ end
+end
+
+dofile(minetest.get_modpath("unified_inventory").."/api.lua")
+dofile(minetest.get_modpath("unified_inventory").."/bags.lua")