Misc fixes
This commit is contained in:
@@ -1780,7 +1780,8 @@ namespace Game.Entities
|
||||
{
|
||||
while (!m_removedAuras.Empty())
|
||||
{
|
||||
m_removedAuras.Remove(m_removedAuras.First());
|
||||
m_removedAuras.First().Dispose();
|
||||
m_removedAuras.RemoveAt(0);
|
||||
}
|
||||
|
||||
m_removedAurasCount = 0;
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace Game
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!CliDB.MapStorage.ContainsKey(mapId) && mapId != AnyMap)
|
||||
if (mapId != AnyMap && !CliDB.MapStorage.ContainsKey(mapId))
|
||||
{
|
||||
Log.outError(LogFilter.Sql, $"Table `world_state` contains a world state {id} with invalid MapID ({mapId}), map ignored");
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user