Fixes string interpolation
This commit is contained in:
parent
42d0b6271f
commit
7d3a0ca265
233 changed files with 758 additions and 690 deletions
|
|
@ -134,7 +134,7 @@ namespace Server.Misc
|
|||
{
|
||||
if ( value < 0 || value > skill.Cap )
|
||||
{
|
||||
from.SendMessage( String.Format( "Your skill in {0} is capped at {1:F1}.", skill.Info.Name, skill.Cap ) );
|
||||
from.SendMessage($"Your skill in {skill.Info.Name} is capped at {skill.Cap:F1}.");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue