mirror of
https://git.minetest.land/Mineclonia/Mineclonia.git
synced 2024-11-30 23:43:00 +00:00
Fix bug in mcl_player.player.get_preview
This commit is contained in:
parent
3ca01c3149
commit
0b9c0d177c
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ end
|
||||||
|
|
||||||
function mcl_player.player_get_preview(player)
|
function mcl_player.player_get_preview(player)
|
||||||
local preview = player:get_meta():get_string("mcl_player:preview")
|
local preview = player:get_meta():get_string("mcl_player:preview")
|
||||||
if not preview then
|
if preview == nil or preview == "" then
|
||||||
return "player.png"
|
return "player.png"
|
||||||
else
|
else
|
||||||
return preview
|
return preview
|
||||||
|
|
Loading…
Reference in a new issue