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
|
|
@ -68,7 +68,14 @@ namespace Server.Commands
|
|||
Core.Profiling = !Core.Profiling;
|
||||
}
|
||||
|
||||
e.Mobile.SendMessage("Profiling has been {0}.", Core.Profiling ? "enabled" : "disabled");
|
||||
if (Core.Profiling)
|
||||
{
|
||||
e.Mobile.SendMessage($"Profiling has been enabled.");
|
||||
}
|
||||
else
|
||||
{
|
||||
e.Mobile.SendMessage($"Profiling has been disabled.");
|
||||
}
|
||||
}
|
||||
|
||||
[Usage("DumpTimers"),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue