Updated Farmer bot command description and translated untranslated strings.

This commit is contained in:
Milutinke 2022-10-17 13:56:01 +02:00
parent e9f227ca5b
commit 7993d347d8
2 changed files with 5 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;
}