Cache clearing
This commit is contained in:
parent
3086f6181b
commit
86a37e5770
1 changed files with 1 additions and 0 deletions
|
@ -39,6 +39,7 @@ public class TerrainGenerator {
|
||||||
smallIslands = new IslandLayer(random.nextInt(), GeneratorOptions.smallOptions);
|
smallIslands = new IslandLayer(random.nextInt(), GeneratorOptions.smallOptions);
|
||||||
noise1 = new OpenSimplexNoise(random.nextInt());
|
noise1 = new OpenSimplexNoise(random.nextInt());
|
||||||
noise2 = new OpenSimplexNoise(random.nextInt());
|
noise2 = new OpenSimplexNoise(random.nextInt());
|
||||||
|
TERRAIN_BOOL_CACHE_MAP.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void fillTerrainDensity(double[] buffer, int x, int z, BiomeSource biomeSource) {
|
public static void fillTerrainDensity(double[] buffer, int x, int z, BiomeSource biomeSource) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue