diff --git a/MinecraftClient/ChatBots/Farmer.cs b/MinecraftClient/ChatBots/Farmer.cs index 7c5a91d3..7ac5262d 100644 --- a/MinecraftClient/ChatBots/Farmer.cs +++ b/MinecraftClient/ChatBots/Farmer.cs @@ -59,7 +59,7 @@ namespace MinecraftClient.ChatBots private bool allowTeleport = false; private bool debugEnabled = false; - private const string commandDescription = "farmer [radius:|unsafe:|teleport:|debug:]|stop>"; + private const string commandDescription = "farmer [radius:] [unsafe:] [teleport:] [debug:]|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; } diff --git a/MinecraftClient/Resources/lang/en.ini b/MinecraftClient/Resources/lang/en.ini index 1ed90b50..cb3fb896 100644 --- a/MinecraftClient/Resources/lang/en.ini +++ b/MinecraftClient/Resources/lang/en.ini @@ -689,6 +689,8 @@ bot.farmer.warining_allow_teleport=You have enabled teleporting, this might get bot.farmer.started=Started farming! bot.farmer.crop_type=Crop type bot.farmer.radius=Radius +bot.farmer.needs_terrain=The Farmer bot needs Terrain Handling in order to work, please enable it! +bot.farmer.needs_inventory=The Farmer bot needs Inventory Handling in order to work, please enable it! # Follow player cmd.follow.desc=Makes the bot follow a specified player