nytmyr d6d5d992cb
[Bots] Fix pet buffs from saving duplicates every save (#4520)
* [Bots] Fix pet buffs from saving duplicates every save

Previously we were not checking the pet index properly when clearing buffs in the database before saving which resulted in no prior data being deleted.

This corrects the logic for the save and also will clean up any buffs for pets that don't exist in the table.

* Changes

* Update world_boot.cpp

---------

Co-authored-by: Akkadius <akkadius1@gmail.com>
2024-10-21 23:57:42 -05:00
..
2017-04-09 20:17:48 -07:00
2016-10-28 19:02:03 -07:00
2013-05-09 11:37:51 -04:00
2021-02-23 18:30:46 -06:00
2017-01-13 21:52:08 -08:00