summaryrefslogtreecommitdiff
path: root/inbox
diff options
context:
space:
mode:
Diffstat (limited to 'inbox')
-rw-r--r--inbox/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/inbox/init.lua b/inbox/init.lua
index 3de7a3c..280edf2 100644
--- a/inbox/init.lua
+++ b/inbox/init.lua
@@ -52,12 +52,12 @@ minetest.register_node("inbox:empty", {
minetest.check_player_privs(player, "protection_bypass") and
clicker:get_player_control().aux1 then
minetest.show_formspec(
- clicker:get_player_name(),
+ player,
"inbox:mailbox",
inbox.get_inbox_formspec(pos))
else
minetest.show_formspec(
- clicker:get_player_name(),
+ player,
"inbox:mailbox",
inbox.get_inbox_insert_formspec(pos))
end