Skip to content

Commit

Permalink
Final configuration file, for modded packs
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Haun committed May 19, 2014
1 parent 953ae24 commit 12578ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ classes/
*.ipr
*.iws
output/
/out/
3 changes: 2 additions & 1 deletion src/main/java/roycurtis/EnchantIconsConfiguration.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package roycurtis;

import net.minecraftforge.common.config.Configuration;
import sun.misc.Regexp;

import java.io.File;
import java.util.HashMap;
Expand Down Expand Up @@ -55,7 +56,7 @@ public EnchantIconsConfiguration(File file) {

String[] fooArray;
for(String s : enchString){
fooArray = s.split("|");
fooArray = s.split("\\|");
Integer id = Integer.parseInt(fooArray[0]);
if(id == null) continue;
nameMap.put(id,fooArray[1]);
Expand Down

0 comments on commit 12578ed

Please sign in to comment.