9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-27 11:09:06 +00:00
This commit is contained in:
Daniel Mills
2020-07-29 00:23:48 -04:00
parent 7d4b980e59
commit 0ecde9531e
10 changed files with 200 additions and 63 deletions

View File

@@ -59,6 +59,16 @@ public class IrisBiomePaletteLayer
cacheGenerator(rng);
}
if(getBlockData().isEmpty())
{
return null;
}
if(getBlockData().size() == 1)
{
return getBlockData().get(0);
}
if(layerGenerator != null)
{
if(dispersion.equals(Dispersion.SCATTER))
@@ -72,11 +82,6 @@ public class IrisBiomePaletteLayer
}
}
if(getBlockData().isEmpty())
{
return null;
}
return getBlockData().get(0);
}