mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-02-16 00:36:07 +00:00
refactor(Core): SendDirectMessage (#23230)
This commit is contained in:
@@ -382,7 +382,7 @@ class spell_madrigosa_activate_barrier : public SpellScript
|
||||
WorldPacket pkt;
|
||||
go->BuildValuesUpdateBlockForPlayer(&data, player);
|
||||
data.BuildPacket(pkt);
|
||||
player->GetSession()->SendPacket(&pkt);
|
||||
player->SendDirectMessage(&pkt);
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -409,7 +409,7 @@ class spell_madrigosa_deactivate_barrier : public SpellScript
|
||||
WorldPacket pkt;
|
||||
go->BuildValuesUpdateBlockForPlayer(&data, player);
|
||||
data.BuildPacket(pkt);
|
||||
player->GetSession()->SendPacket(&pkt);
|
||||
player->SendDirectMessage(&pkt);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user