1
0
mirror of https://github.com/mt-mods/moretrees.git synced 2024-11-15 23:10:20 +01:00

disable minetest.register_on_craft callback

This commit is contained in:
Niklp 2022-08-19 12:05:56 +02:00 committed by GitHub
parent cbe846dfde
commit 3f266017fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -121,7 +121,7 @@ for i in ipairs(moretrees.cutting_tools) do
}
})
end
--[[
-- give tool back with wear preserved
minetest.register_on_craft(function(itemstack, player, old_craft_grid, craft_inv)
if (itemstack:get_name() == "moretrees:coconut_milk") then
@ -156,7 +156,7 @@ minetest.register_on_craft(function(itemstack, player, old_craft_grid, craft_inv
end
end
end)
]]--
-- coconut milk using food_cutting_board from farming redo
if minetest.registered_items["farming:cutting_board"] then
minetest.register_craft({