mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-30 13:47:23 +01:00
Fix a silly typo done in 0902bb0f2b
This commit is contained in:
@@ -1046,7 +1046,8 @@ class spell_item_ashbringer : public SpellScriptLoader
|
||||
{
|
||||
PreventHitDefaultEffect(effIndex);
|
||||
|
||||
Unit* caster = GetCaster())
|
||||
Unit* caster = GetCaster();
|
||||
|
||||
if (caster->GetTypeId() != TYPEID_PLAYER)
|
||||
return;
|
||||
if (Player* player = caster->ToPlayer())
|
||||
|
||||
Reference in New Issue
Block a user