Core/SAI: remove wrong DB errors.

It is normal to have events applicable only to certain instance difficulties.

Closes #18082.
This commit is contained in:
SnapperRy
2016-10-26 23:53:22 +02:00
committed by Aokromes
parent 7eb9d35a4d
commit fe4da7ede8

View File

@@ -3595,10 +3595,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()