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

Fix: handle null lore properly #281

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix: handle null lore properly #281

wants to merge 1 commit into from

Conversation

Tiakin
Copy link

@Tiakin Tiakin commented Feb 27, 2025

If an item is created without modifying its lore, its lore is automatically set to null rather than retaining that of the base item.

I made this change because, in the Walshy/mc-1.21 branch of Slimefun, when using the Altar, the lore gets removed since the empty lore overrides the base item's lore. I believe it's more appropriate to apply the fix here rather than in Slimefun, but I've prepared the other fix just in case.

If an item is created without modifying its lore, its lore is automatically set to null rather than retaining that of the base item.
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