1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-07 03:07:45 +00:00

Unlock all contents in duty finder for now

This commit is contained in:
Minho Kang 2017-08-10 00:41:37 +09:00
parent 0914e1dbd5
commit 6109a191b2

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