summaryrefslogtreecommitdiff
path: root/unified_inventory/init.lua
diff options
context:
space:
mode:
authorRealBadAngel <mk@realbadangel.pl>2013-03-30 11:36:45 +0100
committerRealBadAngel <mk@realbadangel.pl>2013-03-30 11:36:45 +0100
commit279776ff62951a8a9ab96b86b03b7558e77a1c87 (patch)
tree498fbb7fcb32404132238cb4c7cf9deb8228bbcf /unified_inventory/init.lua
parentedd6f8c7e9bdd152a4a116874d3060cce60f3a37 (diff)
update
Diffstat (limited to 'unified_inventory/init.lua')
-rw-r--r--unified_inventory/init.lua11
1 files changed, 9 insertions, 2 deletions
diff --git a/unified_inventory/init.lua b/unified_inventory/init.lua
index 80855b3..cc170a0 100644
--- a/unified_inventory/init.lua
+++ b/unified_inventory/init.lua
@@ -1,4 +1,11 @@
--- load api
-dofile(minetest.get_modpath("unified_inventory").."/api.lua")
+-- 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")