Add ic2 to dev env, and attempt to fix a world gen crash

This commit is contained in:
modmuss50 2016-06-04 18:04:30 +01:00
parent d80280b110
commit eaae9a380d
2 changed files with 8 additions and 3 deletions

View file

@ -259,8 +259,8 @@ public class TechRebornWorldGen implements IWorldGenerator
{
return;
}
if(chance <0){
chance = 0;
if(chance <= 0){
chance = 1;
}
if (random.nextInt(chance) == 0)
{