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;
}

View file

@ -271,6 +271,7 @@ cmd.dig.fail=Failed to start digging block.
# Enchantment Command
cmd.enchant.desc=Enchant an item when you have the Enchantment table opened and the list of enchants recieved.
cmd.enchant.invalid_slot=Invalid slot provided (Available: top, middle, bottom)!
cmd.enchant.enchanting_table_not_opened=You must open a an enchanting table in order to use this option!
cmd.enchant.clicked=Sent a click to the server, if you have enough levels and if you have placed the items in the correct slots it should enchant!
@ -657,6 +658,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