return;
}
int maxNumberOfCharacters = Configuration.getConfiguration().getInt("limit_characters_per_account", Integer.MAX_VALUE);
if (entry.characterCounter >= maxNumberOfCharacters) {
Result result = Result.FAILED_TOO_MANY;
MessageS2CCreateCharacterNACK msgCreateCharacterNACK = new MessageS2CCreateCharacterNACK(channel, result);
msgCreateCharacterNACK.setClientID(clientid);
msgCreateCharacterNACK.setProtocolVersion(protocolVersion);
netMan.sendMessage(msgCreateCharacterNACK);
return;
}
createCharacter(entry.username, character, template, clientid, address, channel,