Skript

Skript

743k Downloads

named atribute doesnt work..

SkVL4D opened this issue ยท 2 comments

commented

Skript/Server Version

2.8.3

Bug Description

The named atribute doesnt work for some reason? if i do /sk reload, it says the code works perfectly and it has no problems. but when i try it, it doesnt work. I did more things and i found out that when i add the: named "&7&lStone &3&lShovel &7[&cTier I&7]" It basically stops it from working.. I did get the name exacly like the item i want and theres
no incorrect misspelling

image_2024-04-09_234640859
image_2024-04-09_234803575

Expected Behavior


Steps to Reproduce


Errors or Screenshots

No response

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.
commented

btw, when i remove "named "&7&lStone &3&lShovel &7[&cTier I&7]"" The code works fine, but i added the name just so it only applies for this only shovel, and when i add the name thing, the code doesnt work

commented

This is due to item comparisons comparing all attributes and finding a difference in the (it looks like) enchantments. Please test the type and the name separately, or make sure you're checking an exact replica (enchants and other data included).

(duplicate of #6183 )