DBError follow-ups:
Port From (https://github.com/TrinityCore/TrinityCore/commit/45766c3d6eb4f70dfa6fe58f99d046e280664480)
This commit is contained in:
@@ -490,8 +490,7 @@ namespace Game.AI
|
|||||||
if (e.GetScriptType() != SmartScriptType.TimedActionlist && e.GetEventType() != SmartEvents.Link && !EventHasInvoker(e.Event.type))
|
if (e.GetScriptType() != SmartScriptType.TimedActionlist && e.GetEventType() != SmartEvents.Link && !EventHasInvoker(e.Event.type))
|
||||||
{
|
{
|
||||||
Log.outError(LogFilter.Sql, $"SmartAIMgr: Entry {e.EntryOrGuid} SourceType {e.GetScriptType()} Event {e.GetEventType()} Action {e.GetActionType()} has invoker target, but event does not provide any invoker!");
|
Log.outError(LogFilter.Sql, $"SmartAIMgr: Entry {e.EntryOrGuid} SourceType {e.GetScriptType()} Event {e.GetEventType()} Action {e.GetActionType()} has invoker target, but event does not provide any invoker!");
|
||||||
// allow this to load for now
|
return false;
|
||||||
// return false;
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case SmartTargets.PlayerRange:
|
case SmartTargets.PlayerRange:
|
||||||
@@ -1065,8 +1064,7 @@ namespace Game.AI
|
|||||||
if (e.GetScriptType() != SmartScriptType.TimedActionlist && e.GetEventType() != SmartEvents.Link && !EventHasInvoker(e.Event.type))
|
if (e.GetScriptType() != SmartScriptType.TimedActionlist && e.GetEventType() != SmartEvents.Link && !EventHasInvoker(e.Event.type))
|
||||||
{
|
{
|
||||||
Log.outError(LogFilter.Sql, $"SmartAIMgr: {e} has invoker cast action, but event does not provide any invoker!");
|
Log.outError(LogFilter.Sql, $"SmartAIMgr: {e} has invoker cast action, but event does not provide any invoker!");
|
||||||
// allow this to load for now
|
return false;
|
||||||
// return false;
|
|
||||||
}
|
}
|
||||||
// no break
|
// no break
|
||||||
goto case SmartActions.AddAura;
|
goto case SmartActions.AddAura;
|
||||||
|
|||||||
Reference in New Issue
Block a user