SPIGOT-6808: Fix RegionAccessor#getBiome

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot 2021-11-25 17:04:58 +11:00
parent 799bfc92e2
commit 1618dd945f

View file

@ -214,7 +214,7 @@ public abstract class CraftRegionAccessor implements RegionAccessor {
@Override
public Biome getBiome(int x, int y, int z) {
return CraftBlock.biomeBaseToBiome(getHandle().registryAccess().registryOrThrow(IRegistry.BIOME_REGISTRY), getHandle().getNoiseBiome(x, y, z));
return CraftBlock.biomeBaseToBiome(getHandle().registryAccess().registryOrThrow(IRegistry.BIOME_REGISTRY), getHandle().getNoiseBiome(x >> 2, y >> 2, z >> 2));
}
@Override