Closed Iseason2000 closed 2 years ago
val nbtCompound = NBTEditor.getNBTCompound(item) nbtCompound.set(item, cost, "tag", "RepairCost") return NBTEditor.getItemFromTag(nbtCompound)
NBTEditor.contains(item, "RepairCost")
return false for every ItemStack
NBTEditor.set(item, 6, "RepairCost")
Thanks, I'll take a look when I get the chance.
Please, bump version for maven dependency or force the build on codemc, thanks.
Server: Purpur 1.18.2 - 1576
NBTEditor Version: 7.18.0
Example code
Result:
Example code
Result:
return false for every ItemStack
Example Code
Result: it doesn't work