mirror of
https://github.com/minetest-mods/moreblocks.git
synced 2024-12-25 18:20:20 +01:00
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
|
||||
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]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user