Skip to content
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

Improve fairy soul helper #307

Merged
merged 4 commits into from Sep 16, 2023

Conversation

Grayray75
Copy link
Contributor

Currently there is a bug where if a soul is clicked multiple times, the closest soul is always registered as found, even if a different soul was clicked. This PR adds a simple distance check to #markClosestFairyFound that checks if the clicked soul is within range of the player.

This also add two new settings:

  • Don't highlight souls which have already been found
  • Only highlight souls which are near the player

@kevinthegreat1 kevinthegreat1 added the bug Something isn't working label Sep 15, 2023
@kevinthegreat1 kevinthegreat1 added this to the 1.14 milestone Sep 15, 2023
Copy link
Collaborator

@kevinthegreat1 kevinthegreat1 left a comment

Choose a reason for hiding this comment

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

Works well, thanks for contributing!

@kevinthegreat1 kevinthegreat1 merged commit ae1cec1 into SkyblockerMod:master Sep 16, 2023
1 check passed
@Grayray75 Grayray75 deleted the fairysoulfixes branch September 16, 2023 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants