Update sfinv support

Makes it work with released version (rather than the old alpha)
This commit is contained in:
rubenwardy 2016-11-27 19:38:56 +00:00
parent 286a94a0d4
commit 70fe682416
1 changed files with 2 additions and 6 deletions

View File

@ -140,12 +140,8 @@ if minetest.global_exists("sfinv") then
title = "Inbox",
get = function(self, player, context)
local name = player:get_player_name()
return ([[
size[12,8]
bgcolor[#080808BB;true]
background[5,5;1,1;gui_formbg.png;true]
{{ nav }}
]]) .. email.get_formspec(name)
return sfinv.make_formspec(player, context,
email.get_formspec(name), false, "size[12,8]")
end
})
end