From 61e0c059fd5be31ee5c6100060c0edceab33f9cd Mon Sep 17 00:00:00 2001 From: Aireil <33433913+Aireil@users.noreply.github.com> Date: Wed, 9 Dec 2020 01:49:33 +0100 Subject: [PATCH] Disable plugins with incompatible API level --- Dalamud/Plugin/PluginManager.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Dalamud/Plugin/PluginManager.cs b/Dalamud/Plugin/PluginManager.cs index 6e57ede66..6f9077e2d 100644 --- a/Dalamud/Plugin/PluginManager.cs +++ b/Dalamud/Plugin/PluginManager.cs @@ -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; }