crash - 4.4.2.41- create new world
Noxilie opened this issue ยท 4 comments
[17:39:25] [Server thread/ERROR]: Encountered an unexpected exception
java.lang.IllegalArgumentException: n must be positive
at java.util.Random.nextInt(Random.java:300) ~[?:1.7.0_51]
at mrtjp.projectred.exploration.GenerationManager.generate(GenerationManager.java:38) ~[GenerationManager.class:?]
how to reproduce:
0)Single Player -> create new world - > create new world
1)crash
crashlog: http://paste.ee/p/kUc5t
You are wrong, my configs are default.
gen_Ruby_resistance = localConfig.get("World Generation", "Ruby Ore resistance", 0).getInt();
https://github.com/MrTJP/ProjectRed/blob/master/src/mrtjp/projectred/core/Configurator.java
:)
and it should be more than zero...
http://docs.oracle.com/javase/7/docs/api/java/util/Random.html#nextInt%28%29