use max-1 as max Y in LazilyEvaluatedInterpolator

This commit is contained in:
dfsek
2022-06-18 01:16:36 -07:00
parent 4c6c284b93
commit 6a95810e65
@@ -42,7 +42,7 @@ public class LazilyEvaluatedInterpolator {
this.biomeProvider = biomeProvider; this.biomeProvider = biomeProvider;
this.seed = seed; this.seed = seed;
this.min = min; this.min = min;
this.max = max; this.max = max - 1;
} }
private double sample(int xIndex, int yIndex, int zIndex, int ox, int oy, int oz) { private double sample(int xIndex, int yIndex, int zIndex, int ox, int oy, int oz) {