diff --git a/src/main/java/pwn/noobs/trouserstreak/modules/BaseFinder.java b/src/main/java/pwn/noobs/trouserstreak/modules/BaseFinder.java index 4ff506f2..4ecb9b13 100644 --- a/src/main/java/pwn/noobs/trouserstreak/modules/BaseFinder.java +++ b/src/main/java/pwn/noobs/trouserstreak/modules/BaseFinder.java @@ -708,7 +708,7 @@ private void onReadPacket(PacketEvent.Receive event) { for (int y = 0; y < 16; y++) { for (int z = 0; z < 16; z++) { int currentY = Y + y; - if (currentY < Ymin || currentY > Ymax) continue; + if (currentY <= Ymin || currentY >= Ymax) continue; blockposi=new BlockPos(x, currentY, z); BlockState blerks = section.getBlockState(x,y,z); if (blerks.getBlock()!=Blocks.AIR){