mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-07 16:26:14 +00:00
Fixes
This commit is contained in:
@@ -74,7 +74,7 @@ public class IrisTerrainActuator extends EngineAssignedActuator<BlockData>
|
||||
depth = he - i;
|
||||
if(blocks == null)
|
||||
{
|
||||
blocks = biome.generateLayers(realX, realZ, rng, (int)he, (int)he, getData());
|
||||
blocks = biome.generateLayers(realX, realZ, rng, (int)he, (int)he, getData(), getComplex());
|
||||
}
|
||||
|
||||
if(blocks.hasIndex(depth))
|
||||
|
||||
@@ -7,6 +7,7 @@ import com.volmit.iris.object.IrisDecorator;
|
||||
import com.volmit.iris.scaffold.cache.Cache;
|
||||
import com.volmit.iris.scaffold.engine.Engine;
|
||||
import com.volmit.iris.scaffold.hunk.Hunk;
|
||||
import org.bukkit.block.data.Bisected;
|
||||
import org.bukkit.block.data.BlockData;
|
||||
|
||||
public class IrisSurfaceDecorator extends IrisEngineDecorator
|
||||
@@ -36,7 +37,24 @@ public class IrisSurfaceDecorator extends IrisEngineDecorator
|
||||
return;
|
||||
}
|
||||
|
||||
if(bd instanceof Bisected)
|
||||
{
|
||||
bd = bd.clone();
|
||||
((Bisected)bd).setHalf(Bisected.Half.TOP);
|
||||
try
|
||||
{
|
||||
data.set(x, height+2, z, bd);
|
||||
}
|
||||
|
||||
catch(Throwable e)
|
||||
{
|
||||
|
||||
}
|
||||
((Bisected)bd).setHalf(Bisected.Half.BOTTOM);
|
||||
}
|
||||
|
||||
data.set(x, height+1, z, bd);
|
||||
|
||||
}
|
||||
|
||||
else {
|
||||
|
||||
@@ -56,10 +56,10 @@ public class IrisCaveModifier extends EngineAssignedModifier<BlockData>
|
||||
continue;
|
||||
}
|
||||
|
||||
KList<BlockData> floor = cave.generateLayers(x + i, z + j, rng, cl.getFloor(), cl.getFloor(), getData());
|
||||
KList<BlockData> floor = cave.generateLayers(x + i, z + j, rng, cl.getFloor(), cl.getFloor(), getData(), getComplex());
|
||||
KList<BlockData> ceiling = cave.generateLayers(x + i + 656, z + j - 656, rng,
|
||||
he - cl.getCeiling(),
|
||||
he - cl.getCeiling(), getData());
|
||||
he - cl.getCeiling(), getData(), getComplex());
|
||||
|
||||
for(int g = 0; g < floor.size(); g++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user