mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-16 13:09:50 -04:00
DBError follow-ups:
* broadcast_text mismatch (6eb7f06) is now a _INFO since Aok isn't nearly as fast as fixing as he claimed. * SmartAI invoker misuse (482328banda3c85c8) are now blocking errors (cherry picked from commit38d3b35561)
This commit is contained in:
@@ -569,8 +569,7 @@ bool SmartAIMgr::IsTargetValid(SmartScriptHolder const& e)
|
||||
if (e.GetScriptType() != SMART_SCRIPT_TYPE_TIMED_ACTIONLIST && e.GetEventType() != SMART_EVENT_LINK && !EventHasInvoker(e.event.type))
|
||||
{
|
||||
TC_LOG_ERROR("sql.sql", "SmartAIMgr: Entry " SI64FMTD " SourceType %u Event %u Action %u has invoker target, but event does not provide any invoker!", e.entryOrGuid, e.GetScriptType(), e.GetEventType(), e.GetActionType());
|
||||
// allow this to load for now
|
||||
// return false;
|
||||
return false;
|
||||
}
|
||||
break;
|
||||
case SMART_TARGET_PLAYER_RANGE:
|
||||
@@ -1286,8 +1285,7 @@ bool SmartAIMgr::IsEventValid(SmartScriptHolder& e)
|
||||
if (e.GetScriptType() != SMART_SCRIPT_TYPE_TIMED_ACTIONLIST && e.GetEventType() != SMART_EVENT_LINK && !EventHasInvoker(e.event.type))
|
||||
{
|
||||
TC_LOG_ERROR("sql.sql", "SmartAIMgr: Entry " SI64FMTD " SourceType %u Event %u Action %u has invoker cast action, but event does not provide any invoker!", e.entryOrGuid, e.GetScriptType(), e.GetEventType(), e.GetActionType());
|
||||
// allow this to load for now
|
||||
// return false;
|
||||
return false;
|
||||
}
|
||||
// no break
|
||||
case SMART_ACTION_SELF_CAST:
|
||||
|
||||
Reference in New Issue
Block a user