mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Packets: fixed crash on SMSG_ATTACKSTOP and fixed init of ItemInstance
This commit is contained in:
@@ -49,7 +49,7 @@ bool ReputationMgr::IsAtWar(uint32 faction_id) const
|
||||
if (!factionEntry)
|
||||
{
|
||||
TC_LOG_ERROR("misc", "ReputationMgr::IsAtWar: Can't get AtWar flag of %s for unknown faction (faction id) #%u.", _player->GetName().c_str(), faction_id);
|
||||
return 0;
|
||||
return false;
|
||||
}
|
||||
|
||||
return IsAtWar(factionEntry);
|
||||
|
||||
Reference in New Issue
Block a user