diff options
author | md_5 <git@md-5.net> | 2018-12-19 10:53:08 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-12-19 10:53:08 +1100 |
commit | 1b982fd67efd09964d565b9ee71df9d4fb0eb093 (patch) | |
tree | 35a692db6a9bb572697b7a823f05d1f7195cda60 | |
parent | f55c8191850d21599ee8abde2d378cfff3154f80 (diff) | |
download | craftbukkit-1b982fd67efd09964d565b9ee71df9d4fb0eb093.tar craftbukkit-1b982fd67efd09964d565b9ee71df9d4fb0eb093.tar.gz craftbukkit-1b982fd67efd09964d565b9ee71df9d4fb0eb093.tar.lz craftbukkit-1b982fd67efd09964d565b9ee71df9d4fb0eb093.tar.xz craftbukkit-1b982fd67efd09964d565b9ee71df9d4fb0eb093.zip |
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java | 2 |
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() { |