1
0
Fork 0

Fix compatibility with jre7 (#73)

kcx-1614
Prototik 2015-06-29 19:29:00 +07:00
parent b242db129b
commit c2c4cc3c83
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ public class KCauldron {
Properties p = new Properties();
p.load(KCauldron.class
.getResourceAsStream("/fmlversion.properties"));
revision = Integer.parseInt(String.valueOf(p.getOrDefault(
revision = Integer.parseInt(String.valueOf(p.getProperty(
"fmlbuild.build.number", "0")));
} catch (Exception e) {
}