diff --git a/AmongUs.props b/AmongUs.props
index 8d64e39..f0bc2f0 100644
--- a/AmongUs.props
+++ b/AmongUs.props
@@ -5,7 +5,7 @@
-
+
diff --git a/Reactor.Debugger/Reactor.Debugger.csproj b/Reactor.Debugger/Reactor.Debugger.csproj
index e6bf4d7..bc0b229 100644
--- a/Reactor.Debugger/Reactor.Debugger.csproj
+++ b/Reactor.Debugger/Reactor.Debugger.csproj
@@ -1,6 +1,6 @@
- net472
+ netstandard2.1
0.1.0
Debugging mod for Reactor
diff --git a/Reactor/Patches/ModdedHandshake.cs b/Reactor/Patches/ModdedHandshake.cs
index 4d87ea6..2094daf 100644
--- a/Reactor/Patches/ModdedHandshake.cs
+++ b/Reactor/Patches/ModdedHandshake.cs
@@ -50,7 +50,7 @@ namespace Reactor.Patches
{
var handshake = MessageWriter.Get(SendOption.Reliable);
- var plugins = Preloader.Chainloader.Plugins;
+ var plugins = IL2CPPChainloader.Instance.Plugins;
if (plugins.Values
.Select(pluginInfo => pluginInfo.Instance.GetType().GetCustomAttribute())
diff --git a/Reactor/Patches/ReactorVersionShower.cs b/Reactor/Patches/ReactorVersionShower.cs
index 21a9891..3203662 100644
--- a/Reactor/Patches/ReactorVersionShower.cs
+++ b/Reactor/Patches/ReactorVersionShower.cs
@@ -48,7 +48,7 @@ namespace Reactor.Patches
{
Text.Text = "Reactor " + typeof(ReactorPlugin).Assembly.GetCustomAttribute().InformationalVersion;
Text.Text += "\nBepInEx: " + Paths.BepInExVersion;
- Text.Text += "\nMods: " + Preloader.Chainloader.Plugins.Count;
+ Text.Text += "\nMods: " + IL2CPPChainloader.Instance.Plugins.Count;
TextUpdated?.Invoke(Text);
}
}
diff --git a/Reactor/PluginSingleton.cs b/Reactor/PluginSingleton.cs
index fee99a7..ed0a702 100644
--- a/Reactor/PluginSingleton.cs
+++ b/Reactor/PluginSingleton.cs
@@ -14,7 +14,7 @@ namespace Reactor
{
if (_instance == null)
{
- _instance = Preloader.Chainloader.Plugins.Values.Select(x => x.Instance).OfType().Single();
+ _instance = IL2CPPChainloader.Instance.Plugins.Values.Select(x => x.Instance).OfType().Single();
}
return _instance;
diff --git a/Reactor/Reactor.csproj b/Reactor/Reactor.csproj
index 644e1af..7b1c4dd 100644
--- a/Reactor/Reactor.csproj
+++ b/Reactor/Reactor.csproj
@@ -1,6 +1,6 @@
- net472
+ netstandard2.1
latest
0.2.0
diff --git a/Reactor/ReactorPlugin.cs b/Reactor/ReactorPlugin.cs
index a2097c8..f4222b1 100644
--- a/Reactor/ReactorPlugin.cs
+++ b/Reactor/ReactorPlugin.cs
@@ -86,7 +86,7 @@ namespace Reactor
{
Plugin.Log.LogInfo("Reloading all configs");
- foreach (var pluginInfo in Preloader.Chainloader.Plugins.Values)
+ foreach (var pluginInfo in IL2CPPChainloader.Instance.Plugins.Values)
{
var config = ((BasePlugin) pluginInfo.Instance).Config;
if (!config.Any())