Rewrote code written in the new C# format to use older functions. Let's keep compatibility with older VS but also keep the code style consistent (already got enough inconsistencies).

This commit is contained in:
Filip Maj 2018-10-08 15:11:43 -04:00
parent 1579aa3d6a
commit d614ea6968
2 changed files with 24 additions and 21 deletions

View file

@ -715,7 +715,7 @@ namespace FFXIVClassic_Map_Server.Actors
{
if (target == null)
{
Program.Log.Error($"[{this.actorId}][{this.customDisplayName}] FindRandomPointAroundTarget: no target found!");
Program.Log.Error(String.Format("[{0} {1}] FindRandomPointAroundTarget: no target found!", this.actorId, this.customDisplayName));
return GetPosAsVector3();
}
return FindRandomPoint(target.positionX, target.positionY, target.positionZ, minRadius, maxRadius);