mirror of
https://github.com/rubenwardy/email.git
synced 2024-12-28 13:20:18 +01:00
Update sfinv support
Makes it work with released version (rather than the old alpha)
This commit is contained in:
parent
286a94a0d4
commit
70fe682416
8
init.lua
8
init.lua
@ -140,12 +140,8 @@ if minetest.global_exists("sfinv") then
|
|||||||
title = "Inbox",
|
title = "Inbox",
|
||||||
get = function(self, player, context)
|
get = function(self, player, context)
|
||||||
local name = player:get_player_name()
|
local name = player:get_player_name()
|
||||||
return ([[
|
return sfinv.make_formspec(player, context,
|
||||||
size[12,8]
|
email.get_formspec(name), false, "size[12,8]")
|
||||||
bgcolor[#080808BB;true]
|
|
||||||
background[5,5;1,1;gui_formbg.png;true]
|
|
||||||
{{ nav }}
|
|
||||||
]]) .. email.get_formspec(name)
|
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user