Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Commit 55af2f8

Browse files
committed
There are already parenthesis in the vector string representation
1 parent 497dbca commit 55af2f8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

EssentialsPlugin/ChatHandlers/Waypoints/HandleWaypointList.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ public override bool HandleCommand(ulong userId, string[] words)
5555
waypoints += "\r\n";
5656

5757
if(item.Group != null && item.Group != "")
58-
waypoints += string.Format("Group {3} - {0}: '{1}' : ({2})", item.Name, item.Text, General.Vector3DToString(item.Position), item.Group);
58+
waypoints += string.Format("Group {3} - {0}: '{1}' : {2}", item.Name, item.Text, General.Vector3DToString(item.Position), item.Group);
5959
else
60-
waypoints += string.Format("{0}: '{1}' : ({2})", item.Name, item.Text, General.Vector3DToString(item.Position));
60+
waypoints += string.Format("{0}: '{1}' : {2}", item.Name, item.Text, General.Vector3DToString(item.Position));
6161
}
6262
personalCount = items.Count;
6363

@@ -75,9 +75,9 @@ public override bool HandleCommand(ulong userId, string[] words)
7575
waypoints += "\r\n";
7676

7777
if (item.Group != null && item.Group != "")
78-
waypoints += string.Format("F: Group {3} - {0}: '{1}' : ({2})", item.Name, item.Text, General.Vector3DToString(item.Position), item.Group);
78+
waypoints += string.Format("F: Group {3} - {0}: '{1}' : {2}", item.Name, item.Text, General.Vector3DToString(item.Position), item.Group);
7979
else
80-
waypoints += string.Format("F: {0}: '{1}' : ({2})", item.Name, item.Text, General.Vector3DToString(item.Position));
80+
waypoints += string.Format("F: {0}: '{1}' : {2}", item.Name, item.Text, General.Vector3DToString(item.Position));
8181
}
8282

8383
factionCount = items.Count;

0 commit comments

Comments
 (0)