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

Repairing Ability doesn't apply repair cost #344

Open
3 tasks done
Folas1337 opened this issue Jan 1, 2025 · 0 comments
Open
3 tasks done

Repairing Ability doesn't apply repair cost #344

Folas1337 opened this issue Jan 1, 2025 · 0 comments
Assignees
Labels
type: bug Something is not working as intended

Comments

@Folas1337
Copy link

Folas1337 commented Jan 1, 2025

Server software and version

Paper version 1.21.4-68-main@9298f59

Expected behavior

When having the repairing ability unlocked and repairing a broken diamond sword with diamonds, it should afterwards add a repair cost to the diamond sword like in vanilla.

Actual behavior

The repairing ability doesn't apply the repair cost vanilla normally does.
It's not a skill used in the default config so it's not a major bug but it should still be fixed eventually.

How to reproduce

  • Give yourself a diamond sword with some damage (reduced durability).
  • Make sure you have a skill that utilizes the repairing ability and have it unlocked. The repairing ability makes it so it takes less resources to repair an item.
  • Now repair the diamond sword with the diamond
  • Afterwards use '/data get entity @s SelectedItem' while holding the diamond sword and you'll see that the repair_cost vanilla usually adds wasn't added so you can indefinitely repair the diamond sword with diamonds endlessly.

Additional information

To see the vanilla behavior you can make sure you no longer have the repairing ability and then repair the diamond sword. You should see in the '/data get entity @s SelectedItem' command that the diamond sword has gotten the repair cost attached.

Agreements

@Folas1337 Folas1337 added the type: bug Something is not working as intended label Jan 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something is not working as intended
Projects
None yet
Development

No branches or pull requests

2 participants