Skip to content

Commit

Permalink
Core/SAI: remove wrong DB errors.
Browse files Browse the repository at this point in the history
It is normal to have events applicable only to certain instance difficulties.

Closes TrinityCore#18082.
  • Loading branch information
SnapperRy committed Oct 26, 2016
1 parent dd07887 commit c42e32e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/server/game/AI/SmartScripts/SmartScript.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3587,10 +3587,6 @@ void SmartScript::FillScript(SmartAIEventList e, WorldObject* obj, AreaTriggerEn
}
mEvents.push_back((*i));//NOTE: 'world(0)' events still get processed in ANY instance mode
}
if (mEvents.empty() && obj)
TC_LOG_ERROR("sql.sql", "SmartScript: Entry %u has events but no events added to list because of instance flags.", obj->GetEntry());
if (mEvents.empty() && at)
TC_LOG_ERROR("sql.sql", "SmartScript: AreaTrigger %u has events but no events added to list because of instance flags. NOTE: triggers can not handle any instance flags.", at->id);
}

void SmartScript::GetScript()
Expand Down

0 comments on commit c42e32e

Please sign in to comment.