mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 18:23:06 +00:00
Fixes
This commit is contained in:
parent
7f3b9ec89a
commit
736deca1fc
@ -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,15 +62,23 @@ public class GenLayerUpdate extends BlockPopulator
|
||||
map = new AtomicSliverMap();
|
||||
}
|
||||
|
||||
RNG rx = rng.nextParallelRNG(c.getX() + r.nextInt()).nextParallelRNG(c.getZ() + r.nextInt());
|
||||
|
||||
if(gen.getDimension().isVanillaCaves())
|
||||
try
|
||||
{
|
||||
generateDepositsWithVanillaSaftey(w, rx, c);
|
||||
RNG rx = rng.nextParallelRNG(c.getX() + r.nextInt()).nextParallelRNG(c.getZ() + r.nextInt());
|
||||
|
||||
if(gen.getDimension().isVanillaCaves())
|
||||
{
|
||||
generateDepositsWithVanillaSaftey(w, rx, c);
|
||||
}
|
||||
|
||||
updateBlocks(rx, c, map);
|
||||
spawnInitials(c, rx);
|
||||
}
|
||||
|
||||
updateBlocks(rx, c, map);
|
||||
spawnInitials(c, rx);
|
||||
catch(Throwable e)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public void spawnInitials(Chunk c, RNG rx)
|
||||
|
Loading…
x
Reference in New Issue
Block a user