Fixed a bug.

This commit is contained in:
Milutinke 2022-09-27 14:34:10 +02:00
parent 932d25f125
commit 36a97f4955
2 changed files with 2 additions and 1 deletions

View file

@ -71,6 +71,7 @@ namespace MinecraftClient.ChatBots
listMode = "blacklist";
}
}
else LogToConsole(Translations.TryGet("bot.autoAttack.invalidlist"));
if (File.Exists(Settings.AutoAttack_ListFile))
{

View file

@ -737,7 +737,7 @@ namespace MinecraftClient
AutoAttack_Attack_Passive = str2bool(argValue); return true;
case "listmode":
AutoAttack_ListMode = argValue; return true;
case "blacklist":
case "listfile":
AutoAttack_ListFile = argValue; return true;
}
break;