From 1fa4664b348eaf2bb1006e87ea74d3d202e8aeed Mon Sep 17 00:00:00 2001 From: Magnus Date: Mon, 5 Aug 2024 12:13:51 -0700 Subject: [PATCH] Added missing semicolon --- NewHorizons/NewHorizonsApi.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NewHorizons/NewHorizonsApi.cs b/NewHorizons/NewHorizonsApi.cs index dea9f8eb..40362fb2 100644 --- a/NewHorizons/NewHorizonsApi.cs +++ b/NewHorizons/NewHorizonsApi.cs @@ -144,7 +144,7 @@ namespace NewHorizons { var planet = Main.BodyDict[Main.Instance.CurrentStarSystem].Find((b) => b.Config.name == bodyName); if (planet == null){ - NHLogger.LogError($"Could not find planet with body name {bodyName}.") + NHLogger.LogError($"Could not find planet with body name {bodyName}."); return null; } return QueryJson(outType, Path.Combine(planet.Mod.ModHelper.Manifest.ModFolderPath, planet.RelativePath), jsonPath); @@ -163,6 +163,7 @@ namespace NewHorizons public object QuerySystem(Type outType, string jsonPath) { var system = Main.SystemDict[Main.Instance.CurrentStarSystem]; + NHLogger.Log("System Relative Path: " + system.RelativePath); return system == null ? null : QueryJson(outType, Path.Combine(system.Mod.ModHelper.Manifest.ModFolderPath, system.RelativePath), jsonPath);