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
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