mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-05-02 00:47:45 +00:00
Merge pull request #860 from T00fy/levelfix
Fixing bug where player info is not updated on level up
This commit is contained in:
commit
fe26d3ba84
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