diff --git a/src/Pathwalker.cs b/src/Pathwalker.cs index 36b1e98..da694ca 100644 --- a/src/Pathwalker.cs +++ b/src/Pathwalker.cs @@ -26,7 +26,7 @@ namespace WorldOfPeacecraft Coordinate dst = Coords.First.Value; int distance = Math.Abs (src.X - dst.X) + Math.Abs (src.Y - dst.Y); if (distance > 1) { - throw new PathwalkerException ("The distance between (" + src.X + "|" + src.Y + ") and (" + dst.X + "|" + dst.Y + ") is grater than 1"); + throw new PathwalkerException ("The distance between (" + src.X + "|" + src.Y + ") and (" + dst.X + "|" + dst.Y + ") is greater than 1"); } string command; if (src.X > dst.X) {