summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorRealBadAngel <mk@realbadangel.pl>2013-09-21 21:40:20 +0200
committerRealBadAngel <mk@realbadangel.pl>2013-09-21 21:40:20 +0200
commite3d391d63f8d6409bdded5c80fe1f5f2de442595 (patch)
tree0d659acaa2ba698225629b52bb08a4ba60894be3 /init.lua
parent0ba8e7eeaeff712ec7b12da9fda55b9f3672e018 (diff)
Update mod
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")