fixed creative glitch

master
Napiophelios 2017-07-08 16:54:41 -04:00
parent 0c40681566
commit 2ca0ecad68
1 changed files with 0 additions and 5 deletions

View File

@ -91,15 +91,10 @@ inventory_plus.get_formspec = function(player,page)
end
-- craft page
if page=="main" then
if minetest.setting_getbool("creative_mode") then
return player:get_inventory_formspec()
.. get_buttons(0,3.615,8)
else
return inventory_plus.inventory[player:get_player_name()]
.. get_buttons(0,3.615,8)
end
end
end
-- register_on_joinplayer
minetest.register_on_joinplayer(function(player)