Skip to content

Commit 7970f16

Browse files
Add auto-select mode null target warning tip
1 parent d6a57e1 commit 7970f16

File tree

1 file changed

+3
-0
lines changed
  • src/main/java/meteordevelopment/meteorclient/systems/modules/world

1 file changed

+3
-0
lines changed

src/main/java/meteordevelopment/meteorclient/systems/modules/world/Nuker.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,9 @@ public void onActivate() {
249249
if (hitResult != null && hitResult.getType() == HitResult.Type.BLOCK) {
250250
BlockPos pos = ((BlockHitResult) hitResult).getBlockPos();
251251
autoSelectBlock = mc.world.getBlockState(pos).getBlock();
252+
} else {
253+
autoSelectBlock = null;
254+
warning("No block is being targeted for auto-select mode.");
252255
}
253256
}
254257
}

0 commit comments

Comments
 (0)