From 7850b0e48f78664453ffc1deaaa7ba91f296dc4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bure=C5=A1?= Date: Sat, 30 Dec 2023 00:03:30 +0100 Subject: [PATCH] Made CoreModule.CurrentUniverse static --- plugin_template/swinfo.json | 2 +- src/PatchManager.Core/CoreModule.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin_template/swinfo.json b/plugin_template/swinfo.json index 2085ca0..b34b963 100644 --- a/plugin_template/swinfo.json +++ b/plugin_template/swinfo.json @@ -5,7 +5,7 @@ "name": "Patch Manager", "description": "A mod for generic patching needs similar to KSP 1's Module Manager.", "source": "https://github.com/KSP2Community/PatchManager", - "version": "0.7.1", + "version": "0.7.2", "version_check": "https://raw.githubusercontent.com/KSP2Community/PatchManager/main/plugin_template/swinfo.json", "ksp2_version": { "min": "0.2.0", diff --git a/src/PatchManager.Core/CoreModule.cs b/src/PatchManager.Core/CoreModule.cs index 99fc27d..c2ac54c 100644 --- a/src/PatchManager.Core/CoreModule.cs +++ b/src/PatchManager.Core/CoreModule.cs @@ -217,5 +217,5 @@ public override void BindConfiguration(IConfigFile modConfiguration) /// This is the current universe that patch manager is using (used for interop reasons) /// [PublicAPI] - public Universe CurrentUniverse => PatchingManager.Universe; + public static Universe CurrentUniverse => PatchingManager.Universe; } \ No newline at end of file