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
|
|
@ -84,7 +84,7 @@ namespace Server.Engines.Spawners
|
|||
for (var i = 0; i < files.Count; i++)
|
||||
{
|
||||
var file = files[i];
|
||||
from.SendMessage("GenerateSpawners: Generating spawners from {0}...", file.Name);
|
||||
from.SendMessage($"GenerateSpawners: Generating spawners from {file.Name}...");
|
||||
logger.Information("{User} is generating spawners from {File}", from, file.FullName);
|
||||
|
||||
NetState.FlushAll();
|
||||
|
|
@ -99,8 +99,7 @@ namespace Server.Engines.Spawners
|
|||
catch (JsonException)
|
||||
{
|
||||
from.SendMessage(
|
||||
"GenerateSpawners: Exception parsing {0}, file may not be in the correct format.",
|
||||
file.FullName
|
||||
$"GenerateSpawners: Exception parsing {file.FullName}, file may not be in the correct format."
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue