BananaPuncher714 / NBTEditor

A single class NBT editor for items, skulls, mobs, and tile entities
MIT License
136 stars 30 forks source link

NBTEditor appears to be affected by Paper relocation change #34

Closed wouterdedroog closed 2 months ago

wouterdedroog commented 5 months ago

After testing out my plugin to see if it works after this change: https://forums.papermc.io/threads/important-dev-psa-future-removal-of-cb-package-relocation.1106/ I noticed that I'm getting errors from NBTEditor. I use the following code to test:


ItemStack stack = event.getPlayer().getItemInHand();
stack = NBTEditor.set(stack, "test", "customtag");
event.getPlayer().getInventory().addItem(stack);```

And get a stacktrace that tells me that the error is on the NBTEditor.set(..) line.
BananaPuncher714 commented 5 months ago

Thanks, I'll see what I can do.