Update chiseling_machine.lua
This commit is contained in:
@@ -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<max_stack then
|
||||
minetest.chat_send_all(dstcount)
|
||||
local stripped =mod_name..":".."stripped_"..node_name
|
||||
inv:add_item("dst", stripped.." "..count)
|
||||
|
||||
Reference in New Issue
Block a user