forked from VoxeLibre/VoxeLibre
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
|
end
|
||||||
|
|
||||||
-- In Creative Mode, the initial inventory setup is handled in creative.lua
|
-- 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)
|
set_inventory(player)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue