mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-05 01:10:19 -05:00
Tweak Block.getTemperature to return actual block temperature
This commit is contained in:
1 parent
f55c819185
commit
1b982fd67e
1 file changed
+1
-1
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user