forked from MineClone5/MineClone5
Fix broken inventory menu after join
This commit is contained in:
parent
6a0aba3463
commit
0df5e40e89
|
@ -150,7 +150,7 @@ minetest.register_on_joinplayer(function(player)
|
|||
end
|
||||
|
||||
-- In Creative Mode, the initial inventory setup is handled in creative.lua
|
||||
if not minetest.setting_get("creative_mode") then
|
||||
if not minetest.setting_getbool("creative_mode") then
|
||||
set_inventory(player)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue