forked from MTSR/moreblocks
Try a fix for name_parts crash.
This commit is contained in:
parent
3b1392ce04
commit
c733848327
@ -122,7 +122,7 @@ function circular_saw:update_inventory(pos, amount)
|
|||||||
|
|
||||||
end
|
end
|
||||||
local node_name = stack:get_name()
|
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 modname = name_parts[1]
|
||||||
local material = name_parts[2]
|
local material = name_parts[2]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user