unified-inv fix

This commit is contained in:
BuckarooBanzay 2023-03-29 17:23:35 +02:00
parent 2666e9e2a0
commit 9cbe7aa22b

View file

@ -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