Skip to content

Commit

Permalink
Reflection Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SkyTech6 committed Dec 4, 2024
1 parent 1faf7cd commit c661fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Structs/Database.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ internal class Database
public static List<MessagePair> 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()
Expand Down

0 comments on commit c661fb8

Please sign in to comment.