Błędu nie wywala lecz teraz same ulepszenie nie działa gdy klikne tam to nie działa a gdy wpisze komendę to działa.
Skrypt na komendę
command /fexy1 [<player>]:
trigger:
if player's tool is iron sword of sharpness 4 named "&6Test &7Poziom 1":
if player's balance is 500:
if player has 1 leather:
remove iron sword of sharpness 4 named "&6Test &7Poziom 1" from the player
remove 1 leather from the player
remove 500 from the player's balance
chance of 100%:
give iron sword of sharpness 5 named "&6Test &7Poziom 2" to the player
else:
send "&8> &cNie masz wszystkich przedmiotow." to the player