mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-03 17:27:47 +00:00
Fixing bug where player info is not updated on level up
This commit is contained in:
parent
d5c784f325
commit
38665cb4a8
1 changed files with 2 additions and 0 deletions
|
@ -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() ) );
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue