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);
|
noiseGenerator.setScale(0.0008D);
|
||||||
}
|
}
|
||||||
|
|
||||||
public double getTemperature(int worldX, int worldZ) {
|
public float getTemperature(int worldX, int worldZ) {
|
||||||
return noiseGenerator.noise(worldX, worldZ, frequency, amplitude, true);
|
return (float) noiseGenerator.noise(worldX, worldZ, frequency, amplitude, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user