From 5671958e47584182ff460d28b97930aed61014ac Mon Sep 17 00:00:00 2001 From: minefaco <63024226+minefaco@users.noreply.github.com> Date: Sat, 20 Nov 2021 18:03:07 -0500 Subject: [PATCH] Update chiseling_machine.lua --- chiseling_machine.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chiseling_machine.lua b/chiseling_machine.lua index 13ddc9d..ee7642f 100644 --- a/chiseling_machine.lua +++ b/chiseling_machine.lua @@ -44,7 +44,7 @@ minetest.register_node("stripped_tree:chiseling_machine", { local mod_name, node_name = unpack(nodename:split(":")) local has_stripped = minetest.registered_nodes[mod_name..":".."stripped_"..node_name] local dstcount = inv:get_stack("dst",1):get_count() - if has_stripped and dstcount < max_stack then + if has_stripped and dstcount < max_stack and dstcount+count