Fix biome mods

This commit is contained in:
cyberpwn 2021-09-13 09:47:24 -04:00
parent 95a7ba0785
commit 9f09052900

View File

@ -72,7 +72,7 @@ public class IrisBiomeActuator extends EngineAssignedActuator<Biome> {
burst.queue(() -> { burst.queue(() -> {
IrisBiome ib; IrisBiome ib;
for (int zf = 0; zf < h.getDepth(); zf++) { for (int zf = 0; zf < h.getDepth(); zf++) {
ib = getComplex().getTrueBiomeStream().get(modX(finalXf + x), modZ(zf + z)); ib = getComplex().getTrueBiomeStream().get(finalXf + x, zf + z);
int maxHeight = (int) (getComplex().getFluidHeight() + ib.getMaxWithObjectHeight(getData())); int maxHeight = (int) (getComplex().getFluidHeight() + ib.getMaxWithObjectHeight(getData()));
if (ib.isCustom()) { if (ib.isCustom()) {
try { try {