summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--technic/machines/MV/tool_workshop.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/technic/machines/MV/tool_workshop.lua b/technic/machines/MV/tool_workshop.lua
index 67a37e6..4f2fb51 100644
--- a/technic/machines/MV/tool_workshop.lua
+++ b/technic/machines/MV/tool_workshop.lua
@@ -62,7 +62,7 @@ minetest.register_abm({
local repairable = false
local srcstack = inv:get_stack("src", 1)
- if not srcstack:is_empty("src") then
+ if not srcstack:is_empty() then
local itemdef = minetest.registered_items[srcstack:get_name()]
if itemdef and
itemdef.wear_represents and