forked from xjboss/KCauldronX
Fix compatibility with jre7 (#73)
This commit is contained in:
parent
b242db129b
commit
c2c4cc3c83
@ -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) {
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user