CODE:
command /AdvancedCrafting <int>:
trigger:
if the argument is 1:
send "check1" to the player
if the player's inventory contains 2 stone button with name "&eCoin" with lore "" and "&cLegendary Item" and 1 stone axe with name "axe of peace":
remove 2 stone button with name "&eCoin" with lore "" and "&cLegendary Item" from the player's inventory
remove 1 stone axe with name "axe of peace" from the player's inventory
give 1 iron sword with name "&dAtomsplit &eSword" to the player
send "&aSuccesful!" to the player
if the player doesn't contain 2 stone button with name "&eCoin" with lore "" and "&cLegendary Item" and 1 stone axe with name "axe of peace":
send "&4Error 001: Insufficient Materials" to the player
Problem:
I have said items in my inventory but it wont detect them even when spawned in with copy paste.
(2 stone button with name "&eCoin" with lore "" and "&cLegendary Item") is spawned in with the same exact code but still won't work.
command /AdvancedCrafting <int>:
trigger:
if the argument is 1:
send "check1" to the player
if the player's inventory contains 2 stone button with name "&eCoin" with lore "" and "&cLegendary Item" and 1 stone axe with name "axe of peace":
remove 2 stone button with name "&eCoin" with lore "" and "&cLegendary Item" from the player's inventory
remove 1 stone axe with name "axe of peace" from the player's inventory
give 1 iron sword with name "&dAtomsplit &eSword" to the player
send "&aSuccesful!" to the player
if the player doesn't contain 2 stone button with name "&eCoin" with lore "" and "&cLegendary Item" and 1 stone axe with name "axe of peace":
send "&4Error 001: Insufficient Materials" to the player
Problem:
I have said items in my inventory but it wont detect them even when spawned in with copy paste.
(2 stone button with name "&eCoin" with lore "" and "&cLegendary Item") is spawned in with the same exact code but still won't work.