mirror of
https://github.com/rubenwardy/email.git
synced 2024-09-01 01:40:27 +02: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",
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user