Skip to content

Commit

Permalink
Remove unnecessary logging for equipment changes in CoreBots
Browse files Browse the repository at this point in the history
  • Loading branch information
PUNK3DAF committed Nov 8, 2024
1 parent ceaec2f commit 444b2d9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions CoreBots.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4146,9 +4146,7 @@ bool _equipClass(bool usingGeneric, string className, ClassUseMode classMode, bo
if (Bot.Player.InCombat)
Bot.Combat.Exit();

logEquip = false;
Equip(Bot.Inventory.Items.First(x => x.Name.ToLower().Trim() == className && x.Category == ItemCategory.Class).ID);
logEquip = true;
equipedClass = Bot.Player.CurrentClass?.Name.Trim().ToLower();
}

Expand All @@ -4158,7 +4156,6 @@ bool _equipClass(bool usingGeneric, string className, ClassUseMode classMode, bo
return true;
}
}
private bool logEquip = true;

/// <summary>
/// Equips multiple items by their names from the bot's inventory if not already equipped.
Expand Down

0 comments on commit 444b2d9

Please sign in to comment.