Fixes string interpolation
This commit is contained in:
parent
42d0b6271f
commit
7d3a0ca265
233 changed files with 758 additions and 690 deletions
|
|
@ -215,7 +215,7 @@ namespace Server.Factions
|
|||
|
||||
public int GetStatMod( Mobile mob, StatType type )
|
||||
{
|
||||
StatMod mod = mob.GetStatMod( String.Format( "[Magic] {0} Offset", type ) );
|
||||
StatMod mod = mob.GetStatMod($"[Magic] {type} Offset");
|
||||
|
||||
if ( mod == null )
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue