Skip to content

Commit

Permalink
fix: delegate getBiome in FilterBlock to getBiomeType
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreSchwang committed Dec 23, 2024
1 parent c8f1984 commit 54451de
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,11 @@ public BiomeType getBiomeType(int x, int y, int z) {
return getExtent().getBiomeType(x, y, z);
}

@Override
public BiomeType getBiome(final BlockVector3 position) {
return this.getBiomeType(position.x(), position.y(), position.z());
}

@Override
public <T extends BlockStateHolder<T>> boolean setBlock(int x, int y, int z, T block)
throws WorldEditException {
Expand Down

0 comments on commit 54451de

Please sign in to comment.