Set sender's reply player on tell instead of just receiving messages
This commit is contained in:
parent
d95471b7c6
commit
b0cc010823
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue