mirror of
https://github.com/minetest-mods/unified_inventory.git
synced 2024-08-20 05:14:09 +02:00
Merge pull request #47 from kilbith/patch-1
Fix disabling of default creative inventory (fixes #46)
This commit is contained in:
commit
8f91abbfb8
4
init.lua
4
init.lua
@ -48,8 +48,8 @@ unified_inventory = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
-- Disable default creative inventory
|
-- Disable default creative inventory
|
||||||
if rawget(_G, "creative_inventory") then
|
if rawget(_G, "creative") then
|
||||||
function creative_inventory.set_creative_formspec(player, start_i, pagenum)
|
function creative.set_creative_formspec(player, start_i, pagenum)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user