From 0b9c0d177c5d78a66f2d33b2c84a7babdc9f6cc2 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 6 Mar 2019 07:15:53 +0100 Subject: [PATCH] Fix bug in mcl_player.player.get_preview --- mods/PLAYER/mcl_player/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/PLAYER/mcl_player/init.lua b/mods/PLAYER/mcl_player/init.lua index bd56ad8045..a766eed280 100644 --- a/mods/PLAYER/mcl_player/init.lua +++ b/mods/PLAYER/mcl_player/init.lua @@ -81,7 +81,7 @@ end function mcl_player.player_get_preview(player) local preview = player:get_meta():get_string("mcl_player:preview") - if not preview then + if preview == nil or preview == "" then return "player.png" else return preview