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 /src | |
parent | f55c8191850d21599ee8abde2d378cfff3154f80 (diff) | |
download | craftbukkit-master.tar craftbukkit-master.tar.gz craftbukkit-master.tar.lz craftbukkit-master.tar.xz craftbukkit-master.zip |
Diffstat (limited to 'src')
-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() { |