feat: ban ping plugin 1.11.0.0

This commit is contained in:
goat 2021-02-10 03:43:11 +01:00
parent b72e984e54
commit 681ba7f189

View file

@ -234,6 +234,11 @@ namespace Dalamud.Plugin
DalamudApiLevel = DALAMUD_API_LEVEL
};
if (pluginDef.InternalName == "PingPlugin" && pluginDef.AssemblyVersion == "1.11.0.0") {
Log.Error("Banned PingPlugin");
return false;
}
if (pluginDef.DalamudApiLevel < DALAMUD_API_LEVEL) {
Log.Error("Incompatible API level: {0}", dllFile.FullName);
disabledFile.Create().Close();