Skip to content

Fix repaired items have infinite durability#72

Merged
Ale32bit merged 1 commit into
stonecutterfrom
#66-repair-bug
Jun 9, 2026
Merged

Fix repaired items have infinite durability#72
Ale32bit merged 1 commit into
stonecutterfrom
#66-repair-bug

Conversation

@Ale32bit

@Ale32bit Ale32bit commented Jun 9, 2026

Copy link
Copy Markdown
Owner

Starting 1.21.1 the /repair command removes the component DAMAGE, this effectively makes the tool indestructible.
This PR sets the component's value to 0 instead, resetting the damage and maintaining the breakability.

Closes issue #66.

@nelsongraca

Copy link
Copy Markdown
Collaborator

did a quick test on 1.21.11 looks good

@Ale32bit Ale32bit merged commit 5a21880 into stonecutter Jun 9, 2026
3 checks 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