mirror of
https://github.com/SapphireServer/Sapphire.git
synced 2025-04-26 14:37:44 +00:00
Return min instead of max for itemlevel
This commit is contained in:
parent
208d39ad62
commit
2a6246f490
1 changed files with 1 additions and 1 deletions
|
@ -848,7 +848,7 @@ uint16_t Core::Entity::Player::calculateEquippedGearItemLevel()
|
|||
it++;
|
||||
}
|
||||
|
||||
return std::max( static_cast< int32_t >( iLvlResult / 13 ), 9999 );
|
||||
return std::min( static_cast< int32_t >( iLvlResult / 13 ), 9999 );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue