summaryrefslogtreecommitdiff
path: root/unified_inventory/init.lua
diff options
context:
space:
mode:
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")