ShadowNinja
2014-05-31 799c1b3409d37eb8c7f31541501913e916c496e0
Fix wear_represents logic
1 files modified
4 ■■■■ changed files
technic/machines/MV/tool_workshop.lua 4 ●●●● patch | view | raw | blame | history
technic/machines/MV/tool_workshop.lua
@@ -65,8 +65,8 @@
        if not srcstack:is_empty() then
            local itemdef = minetest.registered_items[srcstack:get_name()]
            if itemdef and
                    itemdef.wear_represents and
                    itemdef.wear_represents == "mechanical_wear" and
                    (not itemdef.wear_represents or
                    itemdef.wear_represents == "mechanical_wear") and
                    srcstack:get_wear() ~= 0 then
                repairable = true
            end