Core/Conditions: Allow empty (CONDITION_NONE) conditions with just script attached
Port From (https://github.com/TrinityCore/TrinityCore/commit/47aa69ca32c79dfdab9cd2cdbd64e69c9716e413)
This commit is contained in:
@@ -565,7 +565,7 @@ namespace Game.Conditions
|
||||
|
||||
public bool IsLoaded()
|
||||
{
|
||||
return ConditionType > ConditionTypes.None || ReferenceId != 0;
|
||||
return ConditionType > ConditionTypes.None || ReferenceId != 0 || ScriptId != 0;
|
||||
}
|
||||
|
||||
public uint GetMaxAvailableConditionTargets()
|
||||
|
||||
Reference in New Issue
Block a user