mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-05 18:27:17 +01:00
SPIGOT-6808: Fix RegionAccessor#getBiome
By: md_5 <git@md-5.net>
This commit is contained in:
parent
799bfc92e2
commit
1618dd945f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue