mirror of
https://github.com/mt-mods/pipeworks.git
synced 2025-06-29 14:50:41 +02:00
Remove extra print()
calls and copy Luacontroller's print behavior (#127)
This commit is contained in:
@ -281,7 +281,6 @@ if pipeworks.enable_node_breaker then
|
||||
-- Don't mechanically wear out tool
|
||||
if stack:get_wear() ~= old_stack:get_wear() and stack:get_count() == old_stack:get_count()
|
||||
and (item_def.wear_represents == nil or item_def.wear_represents == "mechanical_wear") then
|
||||
print("replaced")
|
||||
fakeplayer:set_wielded_item(old_stack)
|
||||
end
|
||||
elseif not stack:is_empty() then
|
||||
|
Reference in New Issue
Block a user