From c7338483277f8e73c5bf106821bd454e39e798f3 Mon Sep 17 00:00:00 2001 From: Calinou Date: Sun, 10 Aug 2014 17:26:11 +0200 Subject: [PATCH] Try a fix for name_parts crash. --- circular_saw.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]