diff options
author | Calinou <calinou@opmbx.org> | 2014-08-20 19:21:47 +0200 |
---|---|---|
committer | Calinou <calinou@opmbx.org> | 2014-08-20 19:21:47 +0200 |
commit | 6501336d86f2f55d9c7af1869b461cd9e7891ad7 (patch) | |
tree | 71416d60571088ef8485867f13c888a65a890fd4 /circular_saw.lua | |
parent | e308ecf472538fcff396485a5ab726fe610a9f88 (diff) |
Continue the potential fix.
Diffstat (limited to 'circular_saw.lua')
-rw-r--r-- | circular_saw.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/circular_saw.lua b/circular_saw.lua index 217eb92..2af5972 100644 --- a/circular_saw.lua +++ b/circular_saw.lua @@ -121,7 +121,7 @@ function circular_saw:update_inventory(pos, amount) return end - local node_name = stack:get_name() + local node_name = stack:get_name() or "" local name_parts = circular_saw.known_nodes[node_name] or "" local modname = name_parts[1] or "" local material = name_parts[2] or "" |