mirror of
https://github.com/minetest-mods/throwing.git
synced 2025-01-09 09:40:26 +01:00
Make arrows craftable again
This commit is contained in:
parent
541f102b15
commit
5f94a6b27d
4
init.lua
4
init.lua
@ -276,13 +276,13 @@ function throwing.register_arrow(name, def)
|
||||
|
||||
if def.itemcraft then
|
||||
minetest.register_craft({
|
||||
output = throwing.modname..":"..name.." "..tostring(def.craft_quantity or 1),
|
||||
output = name.." "..tostring(def.craft_quantity or 1),
|
||||
recipe = {
|
||||
{def.itemcraft, "default:stick", "default:stick"}
|
||||
}
|
||||
})
|
||||
minetest.register_craft({
|
||||
output = throwing.modname..":"..name.." "..tostring(def.craft_quantity or 1),
|
||||
output = name.." "..tostring(def.craft_quantity or 1),
|
||||
recipe = {
|
||||
{ "default:stick", "default:stick", def.itemcraft}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user