Set sender's reply player on tell instead of just receiving messages

This commit is contained in:
Alessandro Proto 2024-10-22 23:33:23 +02:00
parent d95471b7c6
commit b0cc010823

View file

@ -71,6 +71,7 @@ public class TellCommand {
Placeholder.component("message", parsedMessage.toText())); Placeholder.component("message", parsedMessage.toText()));
lastSender.put(targetName, source.getName()); lastSender.put(targetName, source.getName());
lastSender.put(source.getName(), targetName);
if (!source.getName().equals(targetName)) { if (!source.getName().equals(targetName)) {
source.sendMessage(text); source.sendMessage(text);