Merge pull request #25 from farribeiro/repair

Change to core namespace in repair code
This commit is contained in:
Alexsandro Percy 2024-10-26 09:09:57 -03:00 committed by GitHub
commit 2137bd55b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,12 +1,12 @@
local S = airutils.S local S = airutils.S
-- trike repair -- trike repair
minetest.register_craftitem("airutils:repair_tool",{ core.register_craftitem("airutils:repair_tool",{
description = S("Repair Tool"), description = S("Repair Tool"),
inventory_image = "airutils_repair_tool.png", inventory_image = "airutils_repair_tool.png",
}) })
minetest.register_craft({ core.register_craft({
output = "airutils:repair_tool", output = "airutils:repair_tool",
recipe = { recipe = {
{"", "default:steel_ingot", ""}, {"", "default:steel_ingot", ""},
@ -14,4 +14,3 @@ minetest.register_craft({
{"default:steel_ingot", "", "default:steel_ingot"}, {"default:steel_ingot", "", "default:steel_ingot"},
}, },
}) })