Skip to content

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kvverti committed Jul 24, 2019
1 parent ce597be commit 4a5f41f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ org.gradle.jvmargs=-Xmx1G
loader_version=0.4.7+build.157

# Mod Properties
mod_version = 1.1.0
mod_version = 2.0.0
maven_group = io.github.kvverti
archives_base_name = colormatic

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public int getColor(Biome biome) {
public int getColor(Biome biome, BlockPos pos) {
switch(properties.getFormat()) {
case VANILLA:
double temp = pos == null ? biome.getTemperature() : biome.getTemperature(pos);
double temp = pos == null ? biome.getTemperature() : biome.method_21740(pos);
temp = MathHelper.clamp(temp, 0.0f, 1.0f);
double rain = MathHelper.clamp(biome.getRainfall(), 0.0F, 1.0F);
return getColor(temp, rain);
Expand Down

0 comments on commit 4a5f41f

Please sign in to comment.