mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-27 14:30:14 +00:00
Fixes
This commit is contained in:
1 parent
7f3b9ec89a
commit
736deca1fc
1 file changed
+13
@@ -45,6 +45,11 @@ public class GenLayerUpdate extends BlockPopulator
|
||||
@Override
|
||||
public void populate(World w, Random r, Chunk c)
|
||||
{
|
||||
if(gen == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
AtomicSliverMap map = null;
|
||||
|
||||
try
|
||||
@@ -57,6 +62,8 @@ public class GenLayerUpdate extends BlockPopulator
|
||||
map = new AtomicSliverMap();
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
RNG rx = rng.nextParallelRNG(c.getX() + r.nextInt()).nextParallelRNG(c.getZ() + r.nextInt());
|
||||
|
||||
if(gen.getDimension().isVanillaCaves())
|
||||
@@ -68,6 +75,12 @@ public class GenLayerUpdate extends BlockPopulator
|
||||
spawnInitials(c, rx);
|
||||
}
|
||||
|
||||
catch(Throwable e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public void spawnInitials(Chunk c, RNG rx)
|
||||
{
|
||||
if(!IrisSettings.get().isSystemEntityInitialSpawns())
|
||||
|
||||
Reference in new issue
Block a user