Fix camouflage on nodes without tiles
This commit is contained in:
parent
7af30a9de6
commit
b4d621b2bb
@ -56,7 +56,7 @@ mobs_mime.fn_NodesTextures = function(a_s_nodename)
|
||||
if (a_s_nodename ~= nil) then
|
||||
t_nodeTile = minetest.registered_nodes[a_s_nodename]
|
||||
|
||||
if (t_nodeTile ~= nil) then
|
||||
if (t_nodeTile ~= nil and t_nodeTile["tiles"] ~= nil) then
|
||||
local s_nodeTileTop = ''
|
||||
local s_nodeTileBottom = ''
|
||||
local s_nodeTileSides = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user