mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-10 09:31:57 +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
@ -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 New Issue
Block a user