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

Unlock all contents in duty finder for now

This commit is contained in:
Adam 2017-08-10 00:41:37 +09:00
parent 2588a5f3ab
commit de28fd909a

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 );