From 9c6ddfffe0b26a03e28362aa6c71d27c809b3412 Mon Sep 17 00:00:00 2001 From: ikpil Date: Wed, 29 Nov 2023 00:03:06 +0900 Subject: [PATCH] [Upstream] 248275e - Fix: typo error (#153) - https://github.com/ppiastucki/recast4j/commit/248275e07ff9c601b320eb7fb2740785a613c5c6 --- .../Unity/Astar/UnityAStarPathfindingImporter.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/DotRecast.Detour.Extras/Unity/Astar/UnityAStarPathfindingImporter.cs b/src/DotRecast.Detour.Extras/Unity/Astar/UnityAStarPathfindingImporter.cs index 1fc602b..b65db19 100644 --- a/src/DotRecast.Detour.Extras/Unity/Astar/UnityAStarPathfindingImporter.cs +++ b/src/DotRecast.Detour.Extras/Unity/Astar/UnityAStarPathfindingImporter.cs @@ -48,8 +48,7 @@ namespace DotRecast.Detour.Extras.Unity.Astar int nodeCount = graphMeshData.CountNodes(); if (connections.Count != nodeCount) { - throw new ArgumentException("Inconsistent number of nodes in data file: " + nodeCount - + " and connecton files: " + connections.Count); + throw new ArgumentException($"Inconsistent number of nodes in data file: {nodeCount} and connection files: {connections.Count}"); } // Build BV tree