tweak saddle recipe, fix spawner error

This commit is contained in:
tenplus1 2024-03-08 15:04:58 +00:00
parent 903b1e34df
commit 35cc60c355
2 changed files with 4 additions and 3 deletions

View File

@ -157,9 +157,9 @@ minetest.register_craftitem("mobs:saddle", {
minetest.register_craft({
output = "mobs:saddle",
recipe = {
{"mobs:leather", "mobs:leather", "mobs:leather"},
{"mobs:leather", items.steel_ingot, "mobs:leather"},
{"mobs:leather", items.steel_ingot, "mobs:leather"}
{"group:leather", "group:leather", "group:leather"},
{"group:leather", items.steel_ingot, "group:leather"},
{"group:leather", items.steel_ingot, "group:leather"}
}
})

View File

@ -10,6 +10,7 @@ local function is_player(player)
end
end
local square = math.sqrt
local get_distance = function(a, b)