diff --git a/src/workbench.lua b/src/workbench.lua
index e23c740ba38990a71e47afefc96f02571b060250..fd953d3a6faf931b58a920f74a9508cbed04255a 100644
--- a/src/workbench.lua
+++ b/src/workbench.lua
@@ -186,7 +186,7 @@ function workbench.put(_, listname, _, stack)
 	if (listname == "tool" and stack:get_wear() > 0 and
 	    workbench:repairable(stackname)) or
 	   (listname == "input" and registered_nodes[stackname.."_cube"]) or
-	   (listname == "hammer" and stackname == "xdecor:hammer") or
+	   (listname == "hammer" and stackname == "cottages:hammer") or
 	    listname == "storage" then
 		return stack:get_count()
 	end