[Bots] Remove unnecessary error on SetItemReuse (#3795)

This error is not necessary as it can be triggered when clicked spells have secondary effects that run through the same spell checks for clicked items but aren't actually clicked by the item. Spells that trigger other spell effects and some Bard scaling songs could trigger this after the initial click.
This commit is contained in:
nytmyr 2023-12-20 09:01:54 -06:00 committed by GitHub
parent b3bd44cd76
commit 028ebc3a0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2765,9 +2765,6 @@ bool Mob::SpellFinished(uint16 spell_id, Mob *spell_target, CastingSlot slot, in
CastToBot()->SetItemReuseTimer(item->ID); CastToBot()->SetItemReuseTimer(item->ID);
CastToBot()->SetIsUsingItemClick(false); CastToBot()->SetIsUsingItemClick(false);
} }
else {
GetOwner()->Message(Chat::Red, "%s says, 'Failed to set item reuse timer for %s.", GetCleanName());
}
} }
if (IsNPC()) { if (IsNPC()) {