From b01c75b2741a58bfb6d2ad8c853567d5ab681ad8 Mon Sep 17 00:00:00 2001 From: Luke Date: Sun, 27 Mar 2022 21:54:28 +1000 Subject: [PATCH] Remove older SQLite SetDllImportResolver call --- TShockAPI/TShock.cs | 3 --- 1 file changed, 3 deletions(-) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 3d0fd494..81c429ec 100644 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -258,9 +258,6 @@ namespace TShockAPI //TShock handles this args.Result = OTAPI.Hooks.NetMessage.PlayerAnnounceResult.None; }; - // if sqlite.interop cannot be found, try and search the runtimes folder. this usually happens when debugging tsapi - // since it does not have the dependency installed directly - NativeLibrary.SetDllImportResolver(typeof(Microsoft.Data.Sqlite.SqliteConnection).Assembly, ResolveNativeDep); Main.SettingsUnlock_WorldEvil = true;