Actually default to Plains on too much biome skip
(Also cleaned up code style)
This commit is contained in:
parent
3cf20bac43
commit
5d94e59314
|
@ -264,13 +264,22 @@ public class RitualEffectBiomeChanger extends RitualEffect
|
|||
{
|
||||
biomeID = iteration;
|
||||
if (biomeSkip == 0)
|
||||
{
|
||||
break;
|
||||
else
|
||||
} else
|
||||
{
|
||||
biomeSkip--;
|
||||
}
|
||||
}
|
||||
|
||||
iteration++;
|
||||
}
|
||||
|
||||
// Default to Plains if too much biome skip is used
|
||||
if (biomeSkip != 0)
|
||||
{
|
||||
biomeID = 1;
|
||||
}
|
||||
|
||||
for (int i = 0; i < 2 * range + 1; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue