Skip to content

Conversation

chri-k
Copy link
Contributor

@chri-k chri-k commented Sep 23, 2025

Type of change

  • Bug fix
  • New feature

Description

removes two different sources of infinite loops

Related issues

fixes #5714

How Has This Been Tested?

auto-replenish still works, and infinite loops do not (although the hotbar-to-hotbar loop was always very hard to trigger in the first place)

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.

@chri-k
Copy link
Contributor Author

chri-k commented Sep 23, 2025

another example of how writing code this late results in silly things

@Wide-Cat
Copy link
Collaborator

Replenishing items in your offhand is completely broken because it passes '9' as the slot index for the offhand. Apart from that this looks good.

@chri-k
Copy link
Contributor Author

chri-k commented Sep 25, 2025

that's a bug inherited from the original code.
did notice that it was broken in-game at some point, but forgot about that when writing this

@Wide-Cat Wide-Cat merged commit 96d5797 into MeteorDevelopment:master Sep 25, 2025
1 check passed
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.

auto replenish with multiple grades I-V of ominous potion
3 participants