mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-21 15:57:38 +00:00
Fix post
This commit is contained in:
1 parent
7d4b980e59
commit
0ecde9531e
10 files changed
+200
-63
No files matched your search
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user