Skip to content

Fix setDamage being ran on compasses#11317

Merged
lynxplay merged 2 commits into
PaperMC:masterfrom
NewwindServer:fix-compass
Aug 25, 2024
Merged

Fix setDamage being ran on compasses#11317
lynxplay merged 2 commits into
PaperMC:masterfrom
NewwindServer:fix-compass

Conversation

@NewwindServer
Copy link
Copy Markdown
Contributor

In VanillaChestLoot, compasses accidentally have a setdamage loot function on them, but compasses don't take durability, resulting in a warning
"Couldn't set damage of loot item 1 minecraft:compass"
This patch simply removes attempting to add damage to compass

@NewwindServer NewwindServer requested a review from a team as a code owner August 22, 2024 22:01
@Owen1212055
Copy link
Copy Markdown
Member

Is there a vanilla bug report on this?

Copy link
Copy Markdown
Member

@Machine-Maker Machine-Maker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changing it here doesn't do anything. You are just changing it for the data generator. You have to actually change the vanilla loot table.

Vanilla issue: https://bugs.mojang.com/browse/MC-266489

@lynxplay lynxplay merged commit 5b2c43e into PaperMC:master Aug 25, 2024
@MiniDigger
Copy link
Copy Markdown
Member

do we add the vanilla issue to the patch description and the paper comment?

LeonTG pushed a commit to LeonTG/Paper that referenced this pull request May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

5 participants