diff --git a/src/world/Actor/Player.cpp b/src/world/Actor/Player.cpp index 53afd852..49b2b192 100644 --- a/src/world/Actor/Player.cpp +++ b/src/world/Actor/Player.cpp @@ -696,6 +696,11 @@ bool Sapphire::Entity::Player::isActionLearned( uint8_t actionId ) const void Sapphire::Entity::Player::gainExp( uint32_t amount ) { + if( getLevel() >= Common::MAX_PLAYER_LEVEL ) + { + setExp( 0 ); + return; + } auto pExdData = m_pFw->get< Data::ExdDataGenerated >(); uint32_t currentExp = getExp();