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

Claim private command not working as expected #209

Merged
merged 1 commit into from
Oct 13, 2024

Conversation

djoey123
Copy link
Contributor

@djoey123 djoey123 commented Oct 5, 2024

Old scenario
/claimprivate on = false
/claimprivate off = true
/claimprivate = always true

New scenario

/claimprivate on = true
/claimprivate off = false
/claimprivate = toggle

fix on = true, off = false.
@WiIIiam278
Copy link
Owner

I don't think this logic is right, is it? If the user enters /claimprivate true, it should make the claim private and trigger the event as is the current behaviour. Also inverting the Boolean there will double invert the toggle check. Is the current logic really not correct?

@djoey123
Copy link
Contributor Author

djoey123 commented Oct 5, 2024

The logic wasn't right. If you did /claimprivate on
It disabled the private claim.

@djoey123
Copy link
Contributor Author

djoey123 commented Oct 9, 2024

Could you maybe take a look at it again? 👍

@WiIIiam278 WiIIiam278 merged commit 728ecc4 into WiIIiam278:master Oct 13, 2024
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.

2 participants