Fix broken inventory menu after join

This commit is contained in:
Wuzzy 2017-06-03 02:21:42 +02:00
parent 6a0aba3463
commit 0df5e40e89

View file

@ -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