Fix broken inventory menu after join

This commit is contained in:
Wuzzy 2017-06-03 02:21:42 +02:00
parent 6a0aba3463
commit 0df5e40e89
1 changed files with 1 additions and 1 deletions

View File

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