From b0cc010823c7a58348ab1be043b72d2ca21eb4c0 Mon Sep 17 00:00:00 2001 From: Alessandro Proto Date: Tue, 22 Oct 2024 23:33:23 +0200 Subject: [PATCH] Set sender's reply player on tell instead of just receiving messages --- src/main/java/cc/reconnected/server/commands/TellCommand.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/cc/reconnected/server/commands/TellCommand.java b/src/main/java/cc/reconnected/server/commands/TellCommand.java index 67c48fa..904df6b 100644 --- a/src/main/java/cc/reconnected/server/commands/TellCommand.java +++ b/src/main/java/cc/reconnected/server/commands/TellCommand.java @@ -71,6 +71,7 @@ public class TellCommand { Placeholder.component("message", parsedMessage.toText())); lastSender.put(targetName, source.getName()); + lastSender.put(source.getName(), targetName); if (!source.getName().equals(targetName)) { source.sendMessage(text);