mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 15:40:45 +01:00
Core/Net: "Enable" CMSG_CANCEL_GROWTH_AURA
Also fix a typo visibile -> visible in an opcode name
This commit is contained in:
@@ -244,8 +244,8 @@ void ReputationMgr::SendVisible(FactionState const* faction, bool visible /* = t
|
||||
if (_player->GetSession()->PlayerLoading())
|
||||
return;
|
||||
|
||||
// make faction visible in reputation list at client
|
||||
WorldPacket data(visible ? SMSG_SET_FACTION_VISIBLE : SMSG_SET_FACTION_NOT_VISIBILE, 4);
|
||||
// make faction visible/not visible in reputation list at client
|
||||
WorldPacket data(visible ? SMSG_SET_FACTION_VISIBLE : SMSG_SET_FACTION_NOT_VISIBLE, 4);
|
||||
data << faction->ReputationListID;
|
||||
_player->SendDirectMessage(&data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user