Skip to content

Commit

Permalink
Merge pull request #92 from AntumMT/player_meta
Browse files Browse the repository at this point in the history
Set string in PlayerMetaRef instead of in player object attribute
  • Loading branch information
SwissalpS authored Jan 9, 2025
2 parents f7d5164 + e5119ca commit b30d7b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions homedecor_wardrobe/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ local function set_player_skin(player, skin, save)
if save and not skinsdb_mod_path then

if skin == default_skin then
player:set_attribute("homedecor:player_skin", "")
player:get_meta():set_string("homedecor:player_skin", "")
else
player:set_attribute("homedecor:player_skin", skin)
player:get_meta():set_string("homedecor:player_skin", skin)
end
end
end
Expand Down

0 comments on commit b30d7b5

Please sign in to comment.