mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 02:45:13 +00:00
Rename build to fix stupid issues
This commit is contained in:
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user