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

NBT tag with too high complexity, depth > 512 #344

Closed
SyncSteam opened this issue Nov 26, 2023 · 1 comment
Closed

NBT tag with too high complexity, depth > 512 #344

SyncSteam opened this issue Nov 26, 2023 · 1 comment
Assignees
Labels
1.12.2 Minecraft v1.12.2 bug Something isn't working

Comments

@SyncSteam
Copy link

something is causing treasure2 baubles to extend their NBT tag every time their equipment cost is evaluated, which eventually makes the item crash the server every time it is loaded.

I found this issue in the 1.12.2 MC Eternal pack, which uses Treasure2! version 2.1.1

I tracked this issue from a great onyx gold bracelet in a chest at my base. here's what the problematic NBT for that item looked like:
image

That NBT tag was over 512 levels deep, and because it was stored in a chest it was loaded when the region was loaded. I'm not sure when regions are loaded, so idk if it would crash the entire world, or just that region and its surrounding regions.

I have looked at other treasure2 baubles and they have also displayed this problematic NBT nesting, but to a much lesser extent then that bracelet stored at my base. I can only assume this is because I was comparing it to my equipped one, which would only load each time I logged into the world. where as the one at my base would load each time my base was loaded. and each time they are loaded, they extend their NBT data

@gottsch gottsch self-assigned this Jan 27, 2024
@gottsch gottsch added bug Something isn't working 1.12.2 Minecraft v1.12.2 labels Jan 27, 2024
@gottsch gottsch pinned this issue Jan 27, 2024
@gottsch
Copy link
Owner

gottsch commented Jan 28, 2024

Fixed in v2.2.1

@gottsch gottsch closed this as completed Jan 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.12.2 Minecraft v1.12.2 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants