diff options
author | Raphfrk <raphfrk@gmail.com> | 2011-03-26 13:51:11 +0000 |
---|---|---|
committer | Erik Broes <erikbroes@grum.nl> | 2011-03-26 15:05:16 +0100 |
commit | 8e53077efe2eceb6b9c745073ff821982142593c (patch) | |
tree | c05071f669a43c05369287210d100c6bcf98ce7a /src/main/java | |
parent | 1cbed230d642e439f844408fb826c538534ef895 (diff) | |
download | craftbukkit-8e53077efe2eceb6b9c745073ff821982142593c.tar craftbukkit-8e53077efe2eceb6b9c745073ff821982142593c.tar.gz craftbukkit-8e53077efe2eceb6b9c745073ff821982142593c.tar.lz craftbukkit-8e53077efe2eceb6b9c745073ff821982142593c.tar.xz craftbukkit-8e53077efe2eceb6b9c745073ff821982142593c.zip |
Switched biome coords from chunk based to block based
Diffstat (limited to 'src/main/java')
-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 c6d382a7..779194d2 100644 --- a/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java +++ b/src/main/java/org/bukkit/craftbukkit/block/CraftBlock.java @@ -331,7 +331,7 @@ public class CraftBlock implements Block { } public Biome getBiome() { - BiomeBase base = chunk.getHandle().d.a().a(chunk.getX(), chunk.getZ()); + BiomeBase base = chunk.getHandle().d.a().a(x, z); if (base == BiomeBase.RAINFOREST) { return Biome.RAINFOREST; |