Skript not working with certain enchantments

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

nafeasonto

Member
Apr 2, 2023
1
0
1
command /doit2:
permission: essentials.give
trigger:
if player has netherite sword:
set {_item} to netherite sword named "&6Sword of the Ages" with lore "Forged by an ancient blacksmith."
enchant {_item} with sharpness 5
enchant {_item} with mending 1
enchant {_item} with unbreaking 3
enchant {_item} with sweeping 3
enchant {_item} with knockback 2
enchant {_item} with smite 5
enchant {_item} with fire_aspect 2
enchant {_item} with bane_of_arthropods 5
enchant {_item} with looting 3
set {_item} to unbreakable {_item}
give {_item} to player
send "&aYou now have the Sword of the Ages! This is completely unbreakable."
else:
send "&cYou must be holding a netherite sword to use this command!"

Skript is saying the looting, bane, and fire aspect are incorrect and not recognized, can someone tell me why??

pastebin: https://pastebin.com/GUJwuz7E
 
Status
Not open for further replies.