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

@ -382,10 +382,7 @@ namespace Server.Commands.Generic
{
CommandLogging.WriteLine(
m_From,
"{0} {1} deleting {2}",
m_From.AccessLevel,
CommandLogging.Format(m_From),
CommandLogging.Format(m_Item)
$"{m_From.AccessLevel} {CommandLogging.Format(m_From)} deleting {CommandLogging.Format(m_Item)}"
);
m_Item.Delete();
m_From.SendGump(new InterfaceGump(m_From, m_Columns, m_List, m_Page, m_Item));
@ -553,10 +550,7 @@ namespace Server.Commands.Generic
{
CommandLogging.WriteLine(
m_From,
"{0} {1} deleting {2}",
m_From.AccessLevel,
CommandLogging.Format(m_From),
CommandLogging.Format(m_Mobile)
$"{m_From.AccessLevel} {CommandLogging.Format(m_From)} deleting {CommandLogging.Format(m_Mobile)}"
);
m_Mobile.Delete();
m_From.SendGump(new InterfaceGump(m_From, m_Columns, m_List, m_Page, m_Mobile));