Archiviert
13
0

Switched biome coords from chunk based to block based

Dieser Commit ist enthalten in:
Raphfrk 2011-03-26 13:51:11 +00:00 committet von Erik Broes
Ursprung 1cbed230d6
Commit 8e53077efe

Datei anzeigen

@ -331,7 +331,7 @@ public class CraftBlock implements Block {
} }
public Biome getBiome() { 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) { if (base == BiomeBase.RAINFOREST) {
return Biome.RAINFOREST; return Biome.RAINFOREST;