Fixes string interpolation
This commit is contained in:
parent
42d0b6271f
commit
7d3a0ca265
233 changed files with 758 additions and 690 deletions
|
|
@ -1162,7 +1162,7 @@ namespace Server.Items
|
|||
|
||||
protected bool CheckType( string name )
|
||||
{
|
||||
return ( World.LoadingType == String.Format( "Server.Items.{0}", name ) );
|
||||
return ( World.LoadingType == $"Server.Items.{name}");
|
||||
}
|
||||
|
||||
public override void Deserialize( GenericReader reader )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue