Mam bardzo dziwny błąd... Gdy daje rzeczy do craftingu to przepis nie działa, gdy je wszystkie zabiorę mogę scraftować item bez żadnych itemów.
Zdjęcie:
Spoiler
Kod:
on load:
if yaml value "disenchanter_name" from file "plugins/Skript/scripts/disenchanter.yml" is not set:
create file "plugins/Skript/scripts/disenchanter.yml"
wait 10 tick
set yaml value "disenchanter_name" from file "plugins/Skript/scripts/disenchanter.yml" to "&d⬧ &5&lDISENCHANTER &d⬧"
set yaml value "disenchanter_crafting_recipe" from file "plugins/Skript/scripts/disenchanter.yml" to "ender eye, clock, ender eye, grindstone, enchanting table, grindstone, obsidian, blast furnace and obsidian"
set {name_de} to yaml value "disenchanter_name" from file "plugins/Skript/scripts/disenchanter.yml"
set {crafting_de::*} to yaml value "disenchanter_crafting_recipe" from file "plugins/Skript/scripts/disenchanter.yml"
on load:
register new shaped recipe for enchanting table named "%{name_de}%" using {crafting_de::*} with id "de_block"
Pytanie
sworip 50
Mam bardzo dziwny błąd... Gdy daje rzeczy do craftingu to przepis nie działa, gdy je wszystkie zabiorę mogę scraftować item bez żadnych itemów.
Zdjęcie:
Kod:
on load: if yaml value "disenchanter_name" from file "plugins/Skript/scripts/disenchanter.yml" is not set: create file "plugins/Skript/scripts/disenchanter.yml" wait 10 tick set yaml value "disenchanter_name" from file "plugins/Skript/scripts/disenchanter.yml" to "&d⬧ &5&lDISENCHANTER &d⬧" set yaml value "disenchanter_crafting_recipe" from file "plugins/Skript/scripts/disenchanter.yml" to "ender eye, clock, ender eye, grindstone, enchanting table, grindstone, obsidian, blast furnace and obsidian" set {name_de} to yaml value "disenchanter_name" from file "plugins/Skript/scripts/disenchanter.yml" set {crafting_de::*} to yaml value "disenchanter_crafting_recipe" from file "plugins/Skript/scripts/disenchanter.yml" on load: register new shaped recipe for enchanting table named "%{name_de}%" using {crafting_de::*} with id "de_block"
Odnośnik do komentarza
Udostępnij na innych stronach
6 odpowiedzi 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ą.