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 {
|
CharacterInvalidSexException, TooManyCharactersException {
|
||||||
if (!config.isCharacterCreationAllowed())
|
if (!config.isCharacterCreationAllowed())
|
||||||
throw new CharacteCreationNotAllowedException();
|
throw new CharacteCreationNotAllowedException();
|
||||||
if (characterDao.countByAccount(accountID) < config
|
if (characterDao.countByAccount(accountID) >= config
|
||||||
.getMaxCharactersPerAccount())
|
.getMaxCharactersPerAccount())
|
||||||
throw new TooManyCharactersException();
|
throw new TooManyCharactersException();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user