Switched biome coords from chunk based to block based

This commit is contained in:
Raphfrk authored and Erik Broes committed 2011-03-26 15:05:16 +01:00
1 parent 1cbed230d6
commit 8e53077efe
1 file changed
+1 -1
@@ -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;