aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--circular_saw.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/circular_saw.lua b/circular_saw.lua
index c8dc2ad..b220359 100644
--- a/circular_saw.lua
+++ b/circular_saw.lua
@@ -122,7 +122,7 @@ function circular_saw:update_inventory(pos, amount)
end
local node_name = stack:get_name()
- local name_parts = circular_saw.known_nodes[node_name]
+ local name_parts = circular_saw.known_nodes[node_name] or ""
local modname = name_parts[1]
local material = name_parts[2]