mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-06 07:32:46 +00:00
Fixes character creation issue
This commit is contained in:
@@ -199,7 +199,7 @@ public class CharacterServiceImpl extends
|
||||
CharacterInvalidSexException, TooManyCharactersException {
|
||||
if (!config.isCharacterCreationAllowed())
|
||||
throw new CharacteCreationNotAllowedException();
|
||||
if (characterDao.countByAccount(accountID) < config
|
||||
if (characterDao.countByAccount(accountID) >= config
|
||||
.getMaxCharactersPerAccount())
|
||||
throw new TooManyCharactersException();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user