Added the name filter to the name generator

This commit is contained in:
Obique
2015-02-18 15:58:41 -06:00
committed by Obique
parent 3b5495e49a
commit 714d0da126
+1 -1
View File
@@ -68,9 +68,9 @@ public class ZoneService extends Service {
private PreparedStatement getCharacter;
public ZoneService() {
nameGenerator = new SWGNameGenerator();
clientFac = new ClientFactory();
nameFilter = new NameFilter("namegen/bad_word_list.txt", "namegen/reserved_words.txt");
nameGenerator = new SWGNameGenerator(nameFilter);
}
@Override