From 4edcb54b3120922b0b7920b9e69dc91515f8c02d Mon Sep 17 00:00:00 2001 From: Vatuu <21113232+Vatuu@users.noreply.github.com> Date: Tue, 23 Aug 2022 15:51:04 +0200 Subject: [PATCH] Fixed /iris what biome not working. --- src/main/java/com/volmit/iris/core/commands/CommandWhat.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/volmit/iris/core/commands/CommandWhat.java b/src/main/java/com/volmit/iris/core/commands/CommandWhat.java index 9423ed3c5..4b06f8c76 100644 --- a/src/main/java/com/volmit/iris/core/commands/CommandWhat.java +++ b/src/main/java/com/volmit/iris/core/commands/CommandWhat.java @@ -65,7 +65,7 @@ public class CommandWhat implements DecreeExecutor { @Decree(description = "What biome am i in?", origin = DecreeOrigin.PLAYER) public void biome() { try { - IrisBiome b = engine().getBiome(player().getLocation().getBlockX(), player().getLocation().getBlockY(), player().getLocation().getBlockZ()); + IrisBiome b = engine().getBiome(player().getLocation().getBlockX(), player().getLocation().getBlockY() - player().getWorld().getMinHeight(), player().getLocation().getBlockZ()); sender().sendMessage("IBiome: " + b.getLoadKey() + " (" + b.getDerivative().name() + ")"); } catch(Throwable e) {