Fix a silly typo done in 0902bb0f2b
This commit is contained in:
@@ -1046,7 +1046,8 @@ class spell_item_ashbringer : public SpellScriptLoader
|
|||||||
{
|
{
|
||||||
PreventHitDefaultEffect(effIndex);
|
PreventHitDefaultEffect(effIndex);
|
||||||
|
|
||||||
Unit* caster = GetCaster())
|
Unit* caster = GetCaster();
|
||||||
|
|
||||||
if (caster->GetTypeId() != TYPEID_PLAYER)
|
if (caster->GetTypeId() != TYPEID_PLAYER)
|
||||||
return;
|
return;
|
||||||
if (Player* player = caster->ToPlayer())
|
if (Player* player = caster->ToPlayer())
|
||||||
|
|||||||
Reference in New Issue
Block a user