Tweak Block.getTemperature to return actual block temperature

This commit is contained in:
md_5 2018-12-19 10:53:08 +11:00
parent f55c819185
commit 1b982fd67e

View File

@ -436,7 +436,7 @@ public class CraftBlock implements Block {
} }
public double getTemperature() { public double getTemperature() {
return getWorld().getTemperature(getX(), getZ()); return world.getBiome(position).c(position); // PAIL: getAdjustedTemperature
} }
public double getHumidity() { public double getHumidity() {