mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
Tweak Block.getTemperature to return actual block temperature
By: md_5 <git@md-5.net>
This commit is contained in:
parent
0cbe91dd0f
commit
20287f3b40
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue