Skip to content
This repository has been archived by the owner on Oct 6, 2024. It is now read-only.

Commit

Permalink
Update to Spigot 1.16.5
Browse files Browse the repository at this point in the history
  • Loading branch information
rutgerkok committed Jan 18, 2021
1 parent 66e925d commit 5eee855
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ public final class BiomeGridImpl implements BiomeGrid {

@Override
public Biome getBiome(final int x, final int z) {
return CraftBlock.biomeBaseToBiome((IRegistry<BiomeBase>) this.biomeStorage.g,
return CraftBlock.biomeBaseToBiome((IRegistry<BiomeBase>) this.biomeStorage.registry,
this.biomeStorage.getBiome(x >> 2, 0, z >> 2));
}

@Override
public Biome getBiome(int x, int y, int z) {
return CraftBlock.biomeBaseToBiome((IRegistry<BiomeBase>) this.biomeStorage.g,
return CraftBlock
.biomeBaseToBiome((IRegistry<BiomeBase>) this.biomeStorage.registry,
this.biomeStorage.getBiome(x >> 2, y >> 2, z >> 2));
}

Expand Down

0 comments on commit 5eee855

Please sign in to comment.