Skocz do zawartości
  • 0

Niezrozumiały błąd


oskarus2011
 Udostępnij

Pytanie

Witam!

Mam problem, bo wyskakuje w konsoli:

Spoiler


[16:51:31] [Server thread/ERROR]: a slot can't be set to 'glass nammed "."' because the latter is neither an item type nor an item stack (bedwars.sk, line 336: set slot 0 of {_gui} to glass nammed "."')
[16:51:31] [Server thread/ERROR]: a slot can't be set to 'diamond sword nammed "."' because the latter is neither an item type nor an item stack (bedwars.sk, line 337: set slot 1 of {_gui} to diamond sword nammed "."')
[16:51:31] [Server thread/ERROR]: a slot can't be set to 'glass nammed "."' because the latter is neither an item type nor an item stack (bedwars.sk, line 338: set slot 2 of {_gui} to glass nammed "."')
[16:51:31] [Server thread/ERROR]: a slot can't be set to 'glass nammed "."' because the latter is neither an item type nor an item stack (bedwars.sk, line 339: set slot 3 of {_gui} to glass nammed "."')
[16:51:31] [Server thread/ERROR]: a slot can't be set to 'glass nammed "."' because the latter is neither an item type nor an item stack (bedwars.sk, line 340: set slot 4 of {_gui} to glass nammed "."')
[16:51:31] [Server thread/ERROR]: a slot can't be set to 'glass nammed "."' because the latter is neither an item type nor an item stack (bedwars.sk, line 341: set slot 5 of {_gui} to glass nammed "."')
[16:51:31] [Server thread/ERROR]: a slot can't be set to 'glass nammed "."' because the latter is neither an item type nor an item stack (bedwars.sk, line 342: set slot 6 of {_gui} to glass nammed "."')
[16:51:31] [Server thread/ERROR]: a slot can't be set to 'glass nammed "."' because the latter is neither an item type nor an item stack (bedwars.sk, line 343: set slot 7 of {_gui} to glass nammed "."')
[16:51:31] [Server thread/ERROR]: a slot can't be set to 'glass nammed "."' because the latter is neither an item type nor an item stack (bedwars.sk, line 344: set slot 8 of {_gui} to glass nammed "."')

 

 

Kod:

Spoiler

function shop(p:player): 
    set {_gui} to a new chest inventory with 6 row with name "Sklep"
    set slot 0 of {_gui} to glass nammed "."
    set slot 1 of {_gui} to diamond sword nammed "."
    set slot 2 of {_gui} to glass nammed "."
    set slot 3 of {_gui} to glass nammed "."
    set slot 4 of {_gui} to glass nammed "."
    set slot 5 of {_gui} to glass nammed "."
    set slot 6 of {_gui} to glass nammed "."
    set slot 7 of {_gui} to glass nammed "."
    set slot 8 of {_gui} to glass nammed "."
    open {_gui} to {_p}

 

Pewnie to jakiś głupi błąd - ale jestem ślepy i go nie widze

Edytowane przez oskarus2011
Odnośnik do komentarza
Udostępnij na innych stronach

1 odpowiedź na to pytanie

Rekomendowane odpowiedzi

Dołącz do dyskusji

Możesz dodać zawartość już teraz a zarejestrować się później. Jeśli posiadasz już konto, zaloguj się aby dodać zawartość za jego pomocą.

Nieaktywny
Odpowiedz na pytanie...

×   Wklejono zawartość z formatowaniem.   Usuń formatowanie

  Dozwolonych jest tylko 75 emoji.

×   Odnośnik został automatycznie osadzony.   Przywróć wyświetlanie jako odnośnik

×   Przywrócono poprzednią zawartość.   Wyczyść edytor

×   Nie możesz bezpośrednio wkleić grafiki. Dodaj lub załącz grafiki z adresu URL.

 Udostępnij

  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...