From 3f266017fc4417c9c063b0b7581bfcda49b5aec5 Mon Sep 17 00:00:00 2001 From: Niklp <89982526+Niklp09@users.noreply.github.com> Date: Fri, 19 Aug 2022 12:05:56 +0200 Subject: [PATCH] disable minetest.register_on_craft callback --- crafts.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crafts.lua b/crafts.lua index 360f984..9377d92 100644 --- a/crafts.lua +++ b/crafts.lua @@ -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({