mirror of
https://github.com/mt-mods/mail.git
synced 2025-07-13 09:51:58 -04:00
unified-inv fix
This commit is contained in:
parent
2666e9e2a0
commit
9cbe7aa22b
1 changed files with 4 additions and 1 deletions
5
gui.lua
5
gui.lua
|
@ -81,6 +81,9 @@ if minetest.get_modpath("unified_inventory") then
|
||||||
unified_inventory.register_button("mail", {
|
unified_inventory.register_button("mail", {
|
||||||
type = "image",
|
type = "image",
|
||||||
image = "mail_button.png",
|
image = "mail_button.png",
|
||||||
tooltip = "Mail"
|
tooltip = "Mail",
|
||||||
|
action = function(player)
|
||||||
|
mail.show_mail_menu(player:get_player_name())
|
||||||
|
end
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue