Skip to content

Ignore AutoTool if not in survival #5550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

Powie69
Copy link
Contributor

@Powie69 Powie69 commented Jul 5, 2025

Type of change

  • Bug fix
  • New feature

Description

yuh uh it wont switch to other tools no more if you aint in survival
Ik like you can still break stuff on adventure mode if the tools has attribute stuff but no one plays adventure anyway and it will be just be bloat

Related issues

image

How Has This Been Tested?

👍

Checklist:

  • My code follows the style guidelines of this project.
  • I have added comments to my code in more complex areas.
  • I have tested the code in both development and production environments.

@DrParanoya
Copy link
Contributor

but no one plays adventure anyway
Pretty sure there are a handful of people out there that use AutoTool in adventure mode.

@Powie69
Copy link
Contributor Author

Powie69 commented Jul 5, 2025

but no one plays adventure anyway

Pretty sure there are a handful of people out there that use AutoTool in adventure mode.

yeah true I'll try update the pr to take that into account
But if I don't succeed I'll just double down on the cope and say that no one plays adventure anyway and that would just result in bloat.

@@ -146,6 +147,7 @@ private void onTick(TickEvent.Post event) {
@EventHandler(priority = EventPriority.HIGH)
private void onStartBreakingBlock(StartBreakingBlockEvent event) {
if (Modules.get().isActive(InfinityMiner.class)) return;
if (mc.player.getGameMode() != GameMode.SURVIVAL) return;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

adventure mode

@Wide-Cat Wide-Cat closed this in 905b87a Jul 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants