diff --git a/html/crafting.js b/html/crafting.js
index b3be910ff..4a0993b4f 100644
--- a/html/crafting.js
+++ b/html/crafting.js
@@ -206,6 +206,9 @@ function createRecipe(data) {
}
} else if (itemRecipe === undefined) {
missingMaterials.add(1, name);
+ if (! consumeItems) {
+ inventory.add(1, name);
+ }
} else {
itemRecipe.craft(inventory, missingMaterials);
if (consumeItems) {