fix
This commit is contained in:
parent
060b4edaf6
commit
42eacc238e
2
init.lua
2
init.lua
@ -60,7 +60,7 @@ function set_skin.set_player_skin(player, skin, save)
|
|||||||
if save and not skinsdb_mod_path then
|
if save and not skinsdb_mod_path then
|
||||||
|
|
||||||
if skin == default_skin or skin == "" then
|
if skin == default_skin or skin == "" then
|
||||||
player:set_attribute("set_skin:player_skin", "")
|
player:set_attribute("set_skin:player_skin", nil)
|
||||||
else
|
else
|
||||||
player:set_attribute("set_skin:player_skin", skin)
|
player:set_attribute("set_skin:player_skin", skin)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user