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"