fix: Update LabelTo, SendMessage, etc to Interpolated Strings (#1283)
This commit is contained in:
parent
0facd73842
commit
537526a328
94 changed files with 514 additions and 769 deletions
|
|
@ -3476,11 +3476,11 @@ namespace Server.Mobiles
|
|||
{
|
||||
if (target.Title == null)
|
||||
{
|
||||
SendMessage("{0} cannot be harmed.", target.Name);
|
||||
SendMessage($"{target.Name} cannot be harmed.");
|
||||
}
|
||||
else
|
||||
{
|
||||
SendMessage("{0} {1} cannot be harmed.", target.Name, target.Title);
|
||||
SendMessage($"{target.Name} {target.Title} cannot be harmed.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue