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

Enchantments aren't applied properly (1.21+) #5

Open
LilyKensa opened this issue Nov 23, 2024 · 1 comment
Open

Enchantments aren't applied properly (1.21+) #5

LilyKensa opened this issue Nov 23, 2024 · 1 comment

Comments

@LilyKensa
Copy link

LilyKensa commented Nov 23, 2024

When using an unenchanted tool while having an enchanted tool of another type, the unenchanted tool will be regarded as enchanted by the client, resulting in an error in the calculated mining time

This leads to a desync with the server, and welp, no block can be mined now

Here's a video exemplification

@Ryhon0
Copy link
Owner

Ryhon0 commented Dec 11, 2024

Werid bug, might be related to another bug I experience.
When you start mining a block, which you don't have a valid tool for and then start mining a block with a valid tool without efficiency in 1st slot and same tool but with efficiency applied in the next, it will not apply the mining speed bonus. Switching to the enchanted tool fixes it until you try to mine a block with no valid tool.
getEquipmentChanges should update the mining speed bonus correctly but it doesn't. Setting the synced hand stack doesn't seem to do anything

@Ryhon0 Ryhon0 pinned this issue Dec 11, 2024
@Ryhon0 Ryhon0 changed the title Ghost Efficiency Enchantments aren't applied properly (1.21+) Dec 11, 2024
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

2 participants