mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-24 09:47:20 +00:00
[Fix] Add crash checks for certain PlayerEventLogs (#4761)
This commit is contained in:
1 parent
7ab32af4dc
commit
9ee095b354
6 files changed
+10
-10
No files matched your search
@@ -16974,7 +16974,7 @@ void Client::Handle_OP_GuildTributeDonateItem(const EQApplicationPacket *app)
|
||||
|
||||
SendGuildTributeDonateItemReply(in, favor);
|
||||
|
||||
if(player_event_logs.IsEventEnabled(PlayerEvent::GUILD_TRIBUTE_DONATE_ITEM)) {
|
||||
if(inst && player_event_logs.IsEventEnabled(PlayerEvent::GUILD_TRIBUTE_DONATE_ITEM)) {
|
||||
auto e = PlayerEvent::GuildTributeDonateItem{ .item_id = inst->GetID(),
|
||||
.augment_1_id = inst->GetAugmentItemID(0),
|
||||
.augment_2_id = inst->GetAugmentItemID(1),
|
||||
|
||||
Reference in new issue
Block a user