mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-18 11:19:21 +00:00
Actually default to Plains on too much biome skip
(Also cleaned up code style)
This commit is contained in:
1 parent
3cf20bac43
commit
5d94e59314
1 file changed
+10
-1
+10
-1
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user