diff --git a/server/gameserver/creature.cc b/server/gameserver/creature.cc index e68cc221..b9b29f48 100644 --- a/server/gameserver/creature.cc +++ b/server/gameserver/creature.cc @@ -580,7 +580,7 @@ void Creature::RemoveBuffByUniId(int buff_uniid) #endif #ifdef DEBUG - if (GetHeroMeta()->id() == 60100) { + if (GetHeroMeta() && GetHeroMeta()->id() == 60100) { room->BroadcastDebugMsg(a8::Format("remove boss buff %d %d", {buff_meta->buff_id(), buff_meta->buff_effect()}));