From e5119cad05ce8829fc2aa1b724f3e2da8767ad6c Mon Sep 17 00:00:00 2001 From: Jordan Irwin Date: Thu, 13 May 2021 16:30:08 -0700 Subject: [PATCH] Set string in PlayerMetaRef instead of in player object attribute --- homedecor_wardrobe/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/homedecor_wardrobe/init.lua b/homedecor_wardrobe/init.lua index 07be366c..6e22d936 100644 --- a/homedecor_wardrobe/init.lua +++ b/homedecor_wardrobe/init.lua @@ -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