From 54451defb92b8b087a2b6a9727eb99e6cf5c3494 Mon Sep 17 00:00:00 2001 From: Pierre Maurice Schwang Date: Mon, 23 Dec 2024 21:56:42 +0100 Subject: [PATCH] fix: delegate getBiome in FilterBlock to getBiomeType --- .../core/extent/filter/block/CharFilterBlock.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/filter/block/CharFilterBlock.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/filter/block/CharFilterBlock.java index 718171efd7..93d2f083af 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/filter/block/CharFilterBlock.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/filter/block/CharFilterBlock.java @@ -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 > boolean setBlock(int x, int y, int z, T block) throws WorldEditException {