use player name instead of provided, for correct casing
This commit is contained in:
parent
b45146cca4
commit
75433e64df
@ -612,7 +612,7 @@ public class MessageManager extends MiniClientPlugin<ClientMessage>
|
||||
else
|
||||
{
|
||||
if (_preferences.get(to).isActive(Preference.FRIEND_MESSAGES_ONLY)) {
|
||||
sender.sendMessage(F.main(getName(), F.name(target) + " only allows messages from friends."));
|
||||
sender.sendMessage(F.main(getName(), F.name(to.getName()) + " only allows messages from friends."));
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user