Core/Map: Don't log errors about Area ID 0
Port From (https://github.com/TrinityCore/TrinityCore/commit/efbb6f5b7d66c31671aed47881825b6baa6f5019)
This commit is contained in:
@@ -6154,6 +6154,9 @@ namespace Game.Entities
|
||||
RemoveAurasWithAttribute(SpellAttr0.OutdoorsOnly);
|
||||
|
||||
uint areaId = GetAreaId();
|
||||
if (areaId == 0)
|
||||
return;
|
||||
|
||||
var areaEntry = CliDB.AreaTableStorage.LookupByKey(areaId);
|
||||
if (areaEntry == null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user