Changed CharacterCreationRestriction to allow unlimited character creation

This commit is contained in:
Obique PSWG
2015-06-02 00:22:22 -05:00
parent b29d87d0fa
commit 5fe13240d7
2 changed files with 9 additions and 1 deletions
+6
View File
@@ -136,6 +136,12 @@ public class ZoneService extends Service {
return super.initialize();
}
@Override
public boolean start() {
creationRestriction.setCreationsPerPeriod(getConfig(ConfigFile.PRIMARY).getInt("GALAXY-MAX-CHARACTERS", 2));
return super.start();
}
@Override
public void onIntentReceived(Intent i) {
if (i instanceof ZoneInIntent) {