Tweak Block.getTemperature to return actual block temperature

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2018-12-19 10:53:08 +11:00
parent 0cbe91dd0f
commit 20287f3b40

View file

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