Fixed surface gen in UmbraValleyBiome

This commit is contained in:
Frank 2021-12-08 21:11:24 +01:00
parent 338aee76e9
commit 5c12813b3e
5 changed files with 79 additions and 22 deletions

View file

@ -13,9 +13,10 @@ public class SulphuricSurfaceNoiseCondition extends SurfaceNoiseCondition {
this.threshold = threshold;
}
private int lastX = Integer.MIN_VALUE;
private int lastZ = Integer.MIN_VALUE;
private double lastValue = 0;
private static int lastX = Integer.MIN_VALUE;
private static int lastZ = Integer.MIN_VALUE;
private static double lastValue = 0;
@Override
public boolean test(SurfaceRulesContextAccessor context) {
final int x = context.getBlockX();