diff --git a/Structs/Database.cs b/Structs/Database.cs index df2f8e5..bd636ca 100644 --- a/Structs/Database.cs +++ b/Structs/Database.cs @@ -32,7 +32,7 @@ internal class Database public static List Messages; public static dynamic SQL => IL2CPPChainloader.Instance.Plugins.TryGetValue("CrimsonSQL", out var pluginInfo) - ? CrimsonSQL.Plugin.SQLService + ? pluginInfo.Instance.GetType().GetProperty("SQLService").GetValue(pluginInfo.Instance) : null; public Database()