Disable cleanup check when LoadAllApiLevels is set

This commit is contained in:
Raymond 2021-07-13 10:30:11 -04:00
parent 2665679b41
commit 8e2d20f23c

View file

@ -558,7 +558,7 @@ namespace Dalamud.Plugin.Internal
continue;
}
if (manifest.DalamudApiLevel < DalamudApiLevel)
if (manifest.DalamudApiLevel < DalamudApiLevel && !this.dalamud.Configuration.LoadAllApiLevels)
{
Log.Information($"Lower API: cleaning up {versionDir.FullName}");
versionDir.Delete(true);