forked from your-land-mirror/yl_speak_up
show head in formspec for npc with only one texture as well
This commit is contained in:
parent
6e35b01bd5
commit
b251e27830
@ -15,6 +15,9 @@ yl_speak_up.calculate_portrait = function(pname, n_id)
|
||||
return head .. "[combine:8x8:-8,-8=" .. tex[2] .. ":-40,-8=" .. tex[2]
|
||||
end
|
||||
|
||||
if(tex and tex[1]) then
|
||||
return head .. "[combine:8x8:-8,-8=" .. tex[1] .. ":-40,-8=" .. tex[1]
|
||||
end
|
||||
return head
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user