Hi, i have a problem with parse as enchantment type. My code:
all above variables are loaded on skript load from yaml file. When the {kity::%{_kit}%::gui::item::enchants} has a one enchant, like efficiency 5, i get item with enchantment, but when there's more than one - not works, i didn't get item... How i can fix this?
NOT WORKING:
WORKING:
code_language.skript:
set {_item} to {kity::%{_kit}%::gui::item}
set name of {_item} to colored {kity::%{_kit}%::gui::item::name}
enchant {_item} with {kity::%{_kit}%::gui::item::enchants} parsed as enchantment
set slot {kity::%{_kit}%::gui::slot} of {_p}'s current inventory to {_item}
all above variables are loaded on skript load from yaml file. When the {kity::%{_kit}%::gui::item::enchants} has a one enchant, like efficiency 5, i get item with enchantment, but when there's more than one - not works, i didn't get item... How i can fix this?
NOT WORKING:
code_language.skript:
gui:
material: stone pickaxe
name: "&6» &7Zestaw Startowy &6«"
enchants: efficiency 5 and unbreakable 3
slot: 1
code_language.skript:
gui:
material: stone pickaxe
name: "&6» &7Zestaw Startowy &6«"
enchants: efficiency 5
slot: 1