1
0
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:
2011-12-29 21:35:11 -02:00
parent 83bf11e1c1
commit b157b6aaf7

View File

@@ -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();