Open ghost opened 6 years ago
First off, i recommend using set {_item} to "paper" parsed as item
if you're encountering issues. (Emphasis parsed as item) There are currently some things going wrong with items in skript: https://github.com/SkriptLang/Skript/issues/1484
But that's not the problem here. See this line of the stack trace:
[14:50:47 ERROR]: #!#! at de.jaylawl.jnbt.elements.expressions.ExprTileEntityNBT.change(ExprTileEntityNBT.java:48)
It thinks you're trying to change tile-entity nbt. That's because i made three different expressions which can be specified: item-nbt, entity-nbt and tileentity-nbt. Your issue will be fixed by using this:
set item-nbt of {_0} to "{here is the nbt}"
This still needs to be fixed on my side though. You're not the first person to have this issue, and of course i want to make my plugin more intuitive. Thanks for reporting and your kind words
Hi jaylawl!
Thank your for your complete answer! Specify item/entity or tileentity is not a problem for me. Use only them in the documentation (not nbt alone), and it's intuitive I think :)
set item-nbt of {_0} to "{here is the nbt}"
Works perfectly (only if I parse the "item in text" as item like you recommend).
Thank you! :)
Hi jaylawl!
Thanks again for this addon! But since you removed the expression "%item% with custom nbt %string%", I converted all my lines with this:
But I get this error:
Surprisingly, this works:
Thank you for help and keep going ❤️