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

Fixing bug where player info is not updated on level up

This commit is contained in:
Toofy 2023-02-04 12:43:14 +00:00
parent d5c784f325
commit 38665cb4a8

View file

@ -182,6 +182,8 @@ void PlayerMgr::onLevelUp( Entity::Player& player )
player.sendToInRangeSet( makeActorControl( player.getId(), LevelUpEffect, static_cast< uint8_t >( player.getClass() ),
player.getLevel(), player.getLevel() - 1 ), true );
onPlayerStatusUpdate( player );
auto& achvMgr = Common::Service< World::Manager::AchievementMgr >::ref();
achvMgr.progressAchievementByType< Common::Achievement::Type::Classjob >( player, static_cast< uint32_t >( player.getClass() ) );
}