Switched biome coords from chunk based to block based

By: Raphfrk <raphfrk@gmail.com>
This commit is contained in:
CraftBukkit/Spigot 2011-03-26 13:51:11 +00:00
parent ac67e06163
commit ca3c9c0dcf

View file

@ -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;