diff --git a/src/agent/library/skills.js b/src/agent/library/skills.js index cffd54b..8b1bea8 100644 --- a/src/agent/library/skills.js +++ b/src/agent/library/skills.js @@ -109,6 +109,11 @@ export async function craftRecipe(bot, itemName, num=1) { if (placedTable) { await collectBlock(bot, 'crafting_table', 1); } + + //Equip any armor the bot may have crafted. + //There is probablly a more efficient method than checking the entire inventory but this is all mineflayer-armor-manager provides. :P + bot.armorManager.equipAll(); + return true; }