9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2026-01-03 22:26:25 +00:00
This commit is contained in:
RePixelatedMC
2024-04-09 17:05:43 +02:00
parent 0c8d144ffb
commit 60d349dd8b

View File

@@ -73,7 +73,7 @@ public class IrisBiomeGeneratorLink {
int dmn = engine.getDimension().getMinHeight();
int mx = max; // 500
int mn = min; // 160
if (true) { // todo after merge
if (engine.getDimension().isSmartVanillaHeight()) {
if (mx > 0) mx = Math.min((int)(((float)mx / (float)dmx) * 300.0f), 300);
if (mx < 0) mx = Math.min((int)(((float)mx / (float)dmn) * 300.0f), 56);