Fix name inconsistency in docs

This commit is contained in:
Ben C 2022-08-29 18:55:58 -04:00
parent c31064c68e
commit a9a9b20e31
No known key found for this signature in database
GPG Key ID: 7F8F04504B670474

View File

@ -69,6 +69,6 @@ Extending systems is the exact same as extending planets, except you use the `Qu
You can also use the `QueryBody` method to get values of the config outside of your extension object You can also use the `QueryBody` method to get values of the config outside of your extension object
```csharp ```csharp
var primaryBody = NHAPI.QueryBody(typeof(string), "Wetrock", "$.Orbit.primaryBody"); var primaryBody = api.QueryBody(typeof(string), "Wetrock", "$.Orbit.primaryBody");
ModHelper.Console.WriteLine($"Primary of {bodyName} is {primaryBody ?? "NULL"}!"); ModHelper.Console.WriteLine($"Primary of {bodyName} is {primaryBody ?? "NULL"}!");
``` ```