summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java b/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java
index 89c67aa2..d4012707 100644
--- a/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java
+++ b/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java
@@ -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() {