Skip to content

fix(items): add check for PDC#282

Closed
ybw0014 wants to merge 1 commit intoSlimefun:mainfrom
ybw0014:fix/item-check
Closed

fix(items): add check for PDC#282
ybw0014 wants to merge 1 commit intoSlimefun:mainfrom
ybw0014:fix/item-check

Conversation

@ybw0014
Copy link
Copy Markdown
Contributor

@ybw0014 ybw0014 commented Mar 15, 2025

ItemUtils#canStack lacks a comparison of PDCs, resulting in items with the same everything else but different PDCs being able to stack, which is a kind of illegal item duplication.

The PDC check is added before display name and lore.

@ybw0014 ybw0014 closed this Oct 15, 2025
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.

1 participant