When you use the effect command !give yellow glass pane to player, it gives you a yellow glass pane.
But if you use !give "yellow glass pane" parsed as item to player, it gives a white glass pane. This issue is exactly the same with every color, and other items with different data values like dyes.
Also only happens when I upgraded from 2.2-dev37c to latest 2.3.2 release.
To fix this issue ASAP
See attached files
Works fine in Spigot 1.13.2. Seems to be an issue with aliases between server versions?
EDIT: See here. Skript 2.3.2.
If doing it without parsing gives the correct item then the alias correct. It's probably the parsing expression not handling data values appropriately. There are a number of known issues with versions below 1.13 essentially ignoring data values on aliases.
I'm also marking as medium prio because these data value bugs can be pretty problematic with no great way to work around them. This is not an issue on 1.13.
Yeah I'm working with skript-yaml, so I have to use that parse expression. Hopefully this gets fixed soon...
The issue isn't with the parse expression itself since it doesn't do anything special to modify items. This is just an alias issue with 1.12, so, probably a duplicate.
And for the record, To fix this issue ASAP isn't an expected behavior.
I can actually confirm this on 1.13 as well but it's even worse -- parsing anything as either an item or material returns nothing. I can only seem to successfully parse as an item type.
The thing is that you shouldn't be allowed to parse as material/itemstack at all, as only itemtype is used in Skript. We might have to talk about removing the type so this kind of issues don't happen.
The thing is that you shouldn't be allowed to parse as material/itemstack at all, as only itemtype is used in Skript. We might have to talk about removing the type so this kind of issues don't happen.
That seems like an explanation to many issues I've had in the past, I'd say have Skript warn users about parsing as item but not necessarily remove it.
That seems like an explanation to many issues I've had in the past, I'd say have Skript warn users about parsing as item but not necessarily remove it.
What I meant is that "whatever" parsed as item should try to parse it as an itemtype and not an itemstack, it is currently not that way and thus, that kind of issues happen.