mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 13:46:24 +00:00
refactor(Core/Game): restyle game lib with astyle (#3466)
This commit is contained in:
@@ -39,7 +39,8 @@ void WorldSession::HandleGrantLevel(WorldPacket& recvData)
|
||||
else if (target->GetGroup() != _player->GetGroup())
|
||||
error = ERR_REFER_A_FRIEND_NOT_IN_GROUP;
|
||||
|
||||
if (error) {
|
||||
if (error)
|
||||
{
|
||||
WorldPacket data(SMSG_REFER_A_FRIEND_FAILURE, 24);
|
||||
data << uint32(error);
|
||||
if (error == ERR_REFER_A_FRIEND_NOT_IN_GROUP)
|
||||
|
||||
Reference in New Issue
Block a user