mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 23:38:25 +01:00
Switched biome coords from chunk based to block based
By: Raphfrk <raphfrk@gmail.com>
This commit is contained in:
parent
ac67e06163
commit
ca3c9c0dcf
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue