Witam niedawno zacząłem z Skriptem i chciałem zrobić skrypt na klasy postaci
mam zainstalowane Skript, Umbaska 3.3 i Skquery
skrypt wygląda tak
command /klasa:
trigger:
open chest with 1 rows named "Wybierz swoją klasę postaci" to player
wait 1 tick
format slot 0 of player with 1 of iron sword named "Wojownik" to run [give player 1 unbreakable iron sword of sharpness 2]
Problem polega na tym, że gdy reloaduje skrypt to mi wyskakuje błąd w 5 linijce:
'1 unbreakable iron sword of sharpness 2' can't be added to a player because the former is neither an item type, an inventory nor an experience point (klasy.sk, line 5: format slot 0 of player with 1 of iron sword named "Wojownik" to run [give player 1 unbreakable iron sword of sharpness 2]')