fix: Update LabelTo, SendMessage, etc to Interpolated Strings (#1283)

This commit is contained in:
Fabrizio 2022-11-29 04:58:12 +01:00 • committed by GitHub
parent 0facd73842
commit 537526a328
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
94 changed files with 514 additions and 769 deletions

View file

@ -19,7 +19,7 @@ namespace Server.Commands
var remove = new List<Item>();
var count = 0;
e.Mobile.SendMessage("Exporting all static items to \"{0}\"...", ExportFile);
e.Mobile.SendMessage($"Exporting all static items to \"{ExportFile}\"...");
e.Mobile.SendMessage("This will delete all static items in the world. Please make a backup.");
foreach (var item in World.Items.Values)
@ -60,7 +60,7 @@ namespace Server.Commands
item.Delete();
}
e.Mobile.SendMessage("Export complete. Exported {0} statics.", count);
e.Mobile.SendMessage($"Export complete. Exported {count} statics.");
}
}
}