mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2024-12-30 20:50:23 +01:00
supress intentional creative_inventory check warning, this fixes #18
This commit is contained in:
parent
4bae2c7fa3
commit
1a962542e6
2
init.lua
2
init.lua
@ -32,7 +32,7 @@ unified_inventory.home_filename =
|
||||
unified_inventory.default = "craft"
|
||||
|
||||
-- Disable default creative inventory
|
||||
if creative_inventory then
|
||||
if rawget(_G, "creative_inventory") then
|
||||
function creative_inventory.set_creative_formspec(player, start_i, pagenum)
|
||||
return
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user