1
0
mirror of https://github.com/rubenwardy/email.git synced 2024-12-26 12:20:17 +01:00

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

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