diff --git a/src/main/kotlin/com/github/itzilly/sbt/SkyBlockTweaks.kt b/src/main/kotlin/com/github/itzilly/sbt/SkyBlockTweaks.kt index aaa64ab..ceef2f4 100644 --- a/src/main/kotlin/com/github/itzilly/sbt/SkyBlockTweaks.kt +++ b/src/main/kotlin/com/github/itzilly/sbt/SkyBlockTweaks.kt @@ -190,11 +190,9 @@ class KeyInputHandler { RouteMarker(boundXMin.toInt(), boundYMin.toInt(), boundZMin.toInt(), 0u, 1u, 0u, RouteOptions("Min Bounds")) Minecraft.getMinecraft().thePlayer.addChatMessage(ChatComponentText("Searching...")) - // Loop over each block in the defined bounds for (x in boundXMin.toInt()..boundXMax.toInt()) { for (y in boundYMin.toInt()..boundYMax.toInt()) { for (z in boundZMin.toInt()..boundZMax.toInt()) { - // Get the block at the current coordinates val block = world.getBlockState(BlockPos(x, y, z)).block if (block == Blocks.chest || block == Blocks.trapped_chest || block == Blocks.ender_chest) { val point = RouteMarker(x, y, z, 0u, 0u, 1u, RouteOptions("Located point"))