Skip to content
This repository has been archived by the owner on Oct 20, 2019. It is now read-only.

Commit

Permalink
Initialize ore name set..
Browse files Browse the repository at this point in the history
  • Loading branch information
EXTER7 committed Apr 27, 2014
1 parent 544e25d commit dfcb954
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/exter/fodc/registry/OreNameRegistry.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public class OreNameRegistry

static public void PreInit(Configuration config)
{
valid_ore_names = new HashSet<String>();
String whitelist_line = config.get(Configuration.CATEGORY_GENERAL, "whitelist", "^ore.*,^ingot.*,^dust.*,^block.*",WHITELIST_COMMENT).getString();
String blacklist_line = config.get(Configuration.CATEGORY_GENERAL, "blacklist", "",BLACKLIST_COMMENT).getString();
whitelist = CompilePatterns(whitelist_line);
Expand Down

0 comments on commit dfcb954

Please sign in to comment.