From 47f10f3f3840c6ccc2c2376a3d069b56e5aa615a Mon Sep 17 00:00:00 2001 From: Athozus Date: Sat, 15 Apr 2023 12:26:51 +0200 Subject: [PATCH] Replace inbox by sent --- ui/events.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/events.lua b/ui/events.lua index 50dcd48..a5300b7 100644 --- a/ui/events.lua +++ b/ui/events.lua @@ -248,7 +248,7 @@ minetest.register_on_player_receive_fields(function(player, formname, fields) if #mail.selected_idxs.sent[name] >= #getOutbox() then -- if selection is full mail.selected_idxs.sent[name] = {} else - mail.selected_idxs.inbox[name] = {} -- reset to avoid duplicates + mail.selected_idxs.sent[name] = {} -- reset to avoid duplicates mail.selected_idxs.multipleselection[name] = true for _, msg in ipairs(getOutbox()) do table.insert(mail.selected_idxs.sent[name], msg.id)