mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-25 03:48:23 +02:00
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:
parent
1579aa3d6a
commit
d614ea6968
2 changed files with 24 additions and 21 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue