1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2025-12-05 23:22:47 +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 {
if (!config.isCharacterCreationAllowed())
throw new CharacteCreationNotAllowedException();
if (characterDao.countByAccount(accountID) < config
if (characterDao.countByAccount(accountID) >= config
.getMaxCharactersPerAccount())
throw new TooManyCharactersException();