Fix /reply not properly replying to the last person who you whispered/whispered to you.
This commit is contained in:
parent
cf7323d653
commit
ec39d41654
1 changed files with 1 additions and 0 deletions
|
|
@ -1472,6 +1472,7 @@ namespace TShockAPI
|
||||||
plr.SendMessage("(Whisper From)" + "<" + args.Player.Name + ">" + msg, Color.MediumPurple);
|
plr.SendMessage("(Whisper From)" + "<" + args.Player.Name + ">" + msg, Color.MediumPurple);
|
||||||
args.Player.SendMessage("(Whisper To)" + "<" + plr.Name + ">" + msg, Color.MediumPurple);
|
args.Player.SendMessage("(Whisper To)" + "<" + plr.Name + ">" + msg, Color.MediumPurple);
|
||||||
plr.LastWhisper = args.Player;
|
plr.LastWhisper = args.Player;
|
||||||
|
args.Player.LastWhisper = plr;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue