1
0
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:
1F616EMO~nya
2024-07-03 13:34:18 +08:00
committed by GitHub
parent 71fe60014f
commit 5919f432ae
4 changed files with 13 additions and 8 deletions

View File

@ -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