Industrial Foregoing

Industrial Foregoing

95M Downloads

Incorrect NBT on Disenchanted Items

Saklad5 opened this issue ยท 0 comments

commented

Industrial Foregoing Version: 1.8.2-121
TeslaCoreLib Version: 1.0.12

Equipment like armor has an empty NBT array for enchantments if the last enchantment is removed in the Disenchanter, rather than being stripped of that array entirely. This is extremely annoying for systems that need to filter based on NBT.

In my case, I made this whole Integrated Dynamics system for automatically disenchanting, repairing, and recycling items from mob drops. This worked perfectly until I realized there was a difference between unenchanted items and dis-enchanted items.