[Bug Fix] Fix bots equipping augments. (#2772)

# Notes
- Bots didn't check if the item was an augment before equipping, this stops them from equipping them.
This commit is contained in:
Alex King 2023-01-22 12:57:00 -05:00 committed by GitHub
parent 01a0f906e1
commit f7e4fba584
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4859,6 +4859,10 @@ void Bot::PerformTradeWithClient(int16 begin_slot_id, int16 end_slot_id, Client*
continue;
}
if (trade_instance->GetItem()->ItemType == EQ::item::ItemTypeAugmentation) {
continue;
}
//if (stage_loop == stageStackable) {
// // TODO: implement
// continue;