Rename build to fix stupid issues

This commit is contained in:
Vincent Lee committed 2016-04-05 08:51:10 -05:00
1 parent ae57ace7e8
commit fb0a414443
2 files changed
+2 -2

No files matched your search

@@ -124,7 +124,7 @@ public class ItemLexicon extends ItemMod implements ILexicon, IElvenItem {
public static String getEdition() {
String version = LibMisc.BUILD;
int build = version.contains("GRADLE") ? 0 : Integer.parseInt(version.replace("[^\\d]", ""));
int build = version.contains("GRADLE") ? 0 : Integer.parseInt(version);
return build == 0 ? I18n.translateToLocal("botaniamisc.devEdition") : MathHelper.numberToOrdinal(build);
}