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

@ -162,11 +162,11 @@ public partial class Teleporter : Item
{
if (_mapDest != null && _pointDest != Point3D.Zero)
{
LabelTo(from, "{0} [{1}]", _pointDest, _mapDest);
LabelTo(from, $"{_pointDest} [{_mapDest}]");
}
else if (_mapDest != null)
{
LabelTo(from, "[{0}]", _mapDest);
LabelTo(from, $"[{_mapDest}]");
}
else if (_pointDest != Point3D.Zero)
{