mirror of
https://hub.spigotmc.org/stash/scm/spigot/craftbukkit.git
synced 2025-08-21 05:44:33 +00:00
Tweak Block.getTemperature to return actual block temperature
This commit is contained in:
parent
f55c819185
commit
1b982fd67e
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…
Add table
Reference in a new issue