mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-19 05:31:32 +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() {
|
public double getTemperature() {
|
||||||
return getWorld().getTemperature(getX(), getZ());
|
return world.getBiome(position).c(position); // PAIL: getAdjustedTemperature
|
||||||
}
|
}
|
||||||
|
|
||||||
public double getHumidity() {
|
public double getHumidity() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue