mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-19 07:11:14 +00:00
pass seed to noise functions
This commit is contained in:
+2
-2
@@ -11,7 +11,7 @@ public class NoiseDistributor implements Distributor {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean matches(int x, int z) {
|
||||
return sampler.getNoise(x, z) > 0;
|
||||
public boolean matches(int x, int z, long seed) {
|
||||
return sampler.getNoiseSeeded(seed, x, z) > 0;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user