Disable plugins with incompatible API level

This commit is contained in:
Aireil 2020-12-09 01:49:33 +01:00
parent ceb0456264
commit 61e0c059fd

View file

@ -173,6 +173,7 @@ namespace Dalamud.Plugin
if (pluginDef.DalamudApiLevel < DALAMUD_API_LEVEL) {
Log.Error("Incompatible API level: {0}", dllFile.FullName);
disabledFile.Create().Close();
return false;
}