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

Looting on shears patch is breaking being able to put fortune enchant on tools in survival #836

Closed
3 tasks done
mibby opened this issue Jan 7, 2022 · 0 comments
Closed
3 tasks done

Comments

@mibby
Copy link

mibby commented Jan 7, 2022

Timings link

No response

Expected behavior

Fortune enchant book to still work in survival.

Observed/Actual behavior

Fortune enchantment cannot be applied to tools in survival when the looting on shears patch is enabled.

  enchantment:
    allow-looting-on-shears: true

Steps/models to reproduce

  • Be in survival.
  • Grab a tool such as an iron axe.
  • Grab a fortune II or fortune III enchantment book
  • Grab an anvil
  • Give yourself enough experience levels from an exp bottle.
  • Try to put the fortune enchant on the tool using the anvil.
  • Doesn't work.
  enchantment:
    allow-looting-on-shears: true

Disabling the allow-looting-on-shears patch by setting;

  enchantment:
    allow-looting-on-shears: false

Everything works fine again.

Purpur version

Purpur dev 1493 (1.18.1)

Agreements

  • I am running the latest version of Purpur available from https://purpurmc.org/downloads.
  • I have searched for and ensured there isn't already an open issue regarding this.
  • My version of Minecraft is supported by Purpur.

Other

Only applies to survival. Creative seems to work fine oddly. Since disabling the setting fixes the problem, I assume this patch is just busted. 0bcd1ca

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

No branches or pull requests

1 participant