Goat horn variants don't work #4882
Labels
bug
An issue that needs to be fixed. Alternatively, a PR fixing an issue.
completed
The issue has been fully resolved and the change will be in the next Skript update.
priority: low
Issues that are not harmful to the experience but are related to useful changes or additions.
Skript/Server Version
2.6.3 or at least commit from https://github.com/SkriptLang/Skript/pull/4881
Bug Description
Using
sing goat horn
gives theponder goat horn
instead, all aliases give the ponder variant.This is because the de-duplication mechanism of aliases loading (AliasesProvider#L295) sees the ponder goat horn and the sing goat horn as equal. This is in turn because they're both
minecraft:goat_horn
, and Bukkit doesn't have a goat horn ItemMeta yet (https://hub.spigotmc.org/jira/browse/SPIGOT-7034), which means Skript doesn't have a way to see the difference between the item metas.When Bukkit adds this, we may have to modify
ItemData#compareItemMetas
to be able to compare goat horn metas, but it'll have to be tested then.Expected Behavior
not to do that
Steps to Reproduce
!give sing goat horn to me
Errors or Screenshots
No response
Other
No response
Agreement
The text was updated successfully, but these errors were encountered: