Core/Spells: resolved a couple cherrypick mistakes
This commit is contained in:
1 parent
86749679c8
commit
ec09a4830a
3 files changed
+5
-3
No files matched your search
@@ -3141,7 +3141,7 @@ AuraApplication* Unit::_CreateAuraApplication(Aura* aura, uint8 effMask)
|
||||
// this can happen if OnEffectHitTarget() script hook killed the unit or the aura owner (which can be different)
|
||||
if (aura->IsRemoved())
|
||||
{
|
||||
TC_LOG_ERROR("spells", "Unit::_CreateAuraApplication() called with a removed aura. Check if OnEffectHitTarget() is triggering any spell with apply aura effect (that's not allowed!)\nUnit: %s\nAura: %s", GetDebugInfo().c_str(), aura->GetDebugInfo().c_str());
|
||||
TC_LOG_ERROR("spells", "Unit::_CreateAuraApplication() called with a removed aura. Check if OnEffectHitTarget() is triggering any spell with apply aura effect (that's not allowed!)");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user