mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Player: Implemented auto declining guild invites
This commit is contained in:
@@ -774,3 +774,11 @@ void WorldSession::HandleGuildRequestMaxDailyXP(WorldPacket& recvPacket)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void WorldSession::HandleAutoDeclineGuildInvites(WorldPacket& recvPakcet)
|
||||
{
|
||||
uint8 enable;
|
||||
recvPakcet >> enable;
|
||||
|
||||
GetPlayer()->ApplyModFlag(PLAYER_FLAGS, PLAYER_FLAGS_AUTO_DECLINE_GUILD, enable);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user