1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 14:37:44 +00:00

Merge pull request #18 from Minoost/matchmaking

Unlock all duty finder contents on login
This commit is contained in:
SapphireMordred 2017-08-09 19:35:48 +02:00 committed by GitHub
commit 0bc3116cb9

View file

@ -384,6 +384,14 @@ void Core::Entity::Player::setZone( uint32_t zoneId )
// only initialize the UI if the player in fact just logged in.
if( isLogin() )
{
GamePacketNew< FFXIVIpcCFAvailableContents > contentFinderList( getId() );
for( auto i = 0; i < 72; i++ )
{
// unlock all contents for now
contentFinderList.data().contents[i] = 0xFF;
}
queuePacket( contentFinderList );
Server::InitUIPacket initUIPacket( pPlayer );
queuePacket( initUIPacket );