mirror of
https://gitea.your-land.de/Sokomine/yl_speak_up.git
synced 2025-11-23 07:28:00 +01:00
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]
|
return head .. "[combine:8x8:-8,-8=" .. tex[2] .. ":-40,-8=" .. tex[2]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if(tex and tex[1]) then
|
||||||
|
return head .. "[combine:8x8:-8,-8=" .. tex[1] .. ":-40,-8=" .. tex[1]
|
||||||
|
end
|
||||||
return head
|
return head
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user