mirror of
https://github.com/minetest-mods/3d_armor.git
synced 2024-11-26 14:23:45 +01:00
Fixed broken craft registrations.
This commit is contained in:
parent
064ade8e1e
commit
e7d085183a
@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
dofile(minetest.get_modpath(minetest.get_current_modname()).."/armor_api.lua")
|
dofile(minetest.get_modpath(minetest.get_current_modname()).."/armor_api.lua")
|
||||||
|
|
||||||
local time = 0
|
local time = 0
|
||||||
@ -115,7 +114,7 @@ local craft_ingreds = {
|
|||||||
bronze = "default:bronze_ingot",
|
bronze = "default:bronze_ingot",
|
||||||
}
|
}
|
||||||
|
|
||||||
for k, v in ipairs({"wood", "steel", "bronze"}) do
|
for k, v in pairs(craft_ingreds) do
|
||||||
minetest.register_craft({
|
minetest.register_craft({
|
||||||
output = "3d_armor:helmet_"..k,
|
output = "3d_armor:helmet_"..k,
|
||||||
recipe = {
|
recipe = {
|
||||||
|
Loading…
Reference in New Issue
Block a user