fix: correctly check for .testing

This commit is contained in:
goat 2020-10-03 18:04:33 +02:00
parent e498da8079
commit 0741da0f7b

View file

@ -100,7 +100,7 @@ namespace Dalamud.Plugin
}
var testingFile = new FileInfo(Path.Combine(dllFile.Directory.FullName, ".testing"));
if (testingFile.Exists && this.dalamud.Configuration.DoPluginTest) {
if (testingFile.Exists && !this.dalamud.Configuration.DoPluginTest) {
Log.Information("Plugin {0} was testing, but testing is disabled.", dllFile.FullName);
return false;
}