Updated Farmer bot and Enchant command translations

Updated Farmer bot and Enchant command translations
This commit is contained in:
Anon 2022-10-17 12:54:48 +00:00 committed by GitHub
commit 735dc49d92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 deletions

View file

@ -59,7 +59,7 @@ namespace MinecraftClient.ChatBots
private bool allowTeleport = false;
private bool debugEnabled = false;
private const string commandDescription = "farmer <start <crop type> [radius:<radius = 30>|unsafe:<true/false>|teleport:<true/false>|debug:<true/false>]|stop>";
private const string commandDescription = "farmer <start <crop type> [radius:<radius = 30>] [unsafe:<true/false>] [teleport:<true/false>] [debug:<true/false>]|stop>";
public override void Initialize()
{
@ -71,13 +71,13 @@ namespace MinecraftClient.ChatBots
if (!GetTerrainEnabled())
{
LogToConsole("Terrain handling needed!");
LogToConsole(Translations.TryGet("bot.farmer.needs_terrain"));
return;
}
if (!GetInventoryEnabled())
{
LogToConsole("Inventory handling needed!");
LogToConsole(Translations.TryGet("bot.farmer.needs_inventory"));
return;
}