Skip to content

fix neoforge nbt#151

Open
lunofe wants to merge 1 commit intonvb-uy:masterfrom
lunofe:master
Open

fix neoforge nbt#151
lunofe wants to merge 1 commit intonvb-uy:masterfrom
lunofe:master

Conversation

@lunofe
Copy link

@lunofe lunofe commented Feb 27, 2026

stack.toString() in 1.21.1 only returns something like 1 minecraft:splash_potion, it doesn't include the component data at all.

Changed to stack.getComponents().toString() which serializes all DataComponents including minecraft:potion_contents, enchantments, custom data, etc.

Also wrapped in additional if check for config being empty, possibly performance improvements on low end servers to skip all checks

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