Changed temperature generator to return float.
This commit is contained in:
parent
37aa598d8f
commit
c9dd2a1c4b
@ -14,7 +14,7 @@ class TemperatureMapGenerator {
|
||||
noiseGenerator.setScale(0.0008D);
|
||||
}
|
||||
|
||||
public double getTemperature(int worldX, int worldZ) {
|
||||
return noiseGenerator.noise(worldX, worldZ, frequency, amplitude, true);
|
||||
public float getTemperature(int worldX, int worldZ) {
|
||||
return (float) noiseGenerator.noise(worldX, worldZ, frequency, amplitude, true);
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user