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

Fix sapling drops to ignore reduction and obey Knock on Wood #5012

Merged
merged 6 commits into from
May 24, 2024

Conversation

Momshroom
Copy link
Contributor

The prior fix ignored KnockOnWood and also checked if the block that was dropping things was a sapling, rather than if the drop was. This fixes the issue so that saplings beyond the 25% of blocks will drop if KnockOnWood is unlocked.

(I don't know how to remove the two extra commits from the PR, sorry, but they do cancel each other out)

src/main/java/com/gmail/nossr50/util/Misc.java Outdated Show resolved Hide resolved
src/main/java/com/gmail/nossr50/util/Misc.java Outdated Show resolved Hide resolved
Momshroom added 2 commits May 23, 2024 18:58
clarified comment
clarified location variable name

Signed-off-by: Momshroom <Momshroom@gmail.com>
Removed no longer needed dropString variable

Signed-off-by: Momshroom <Momshroom@gmail.com>
@nossr50 nossr50 merged commit 2f1278c into mcMMO-Dev:master May 24, 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