Remove older SQLite SetDllImportResolver call

This commit is contained in:
Luke 2022-03-27 21:54:28 +10:00
parent 0ff4988cfb
commit b01c75b274

View file

@ -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;