Fix no craftgrid drop after close; fix creative

The 2nd bug in Creative Mode was that the inventory got reset each time you closed it.
This commit is contained in:
Wuzzy 2017-06-01 22:57:13 +02:00
parent 835d5592ec
commit d4d7d8792f
2 changed files with 6 additions and 15 deletions

View file

@ -335,8 +335,6 @@ mcl_inventory.set_creative_formspec = function(player, start_i, pagenum, show, p
end
if pagenum ~= nil then formspec = formspec .. "p"..tostring(pagenum) end
-- inventory marker
formspec = formspec .. "cin"
player:set_inventory_formspec(formspec)
end