yl_skinsdb_addon/overwrite.lua
2024-07-23 21:25:48 +02:00

12 lines
438 B
Lua

local skins = skins.skin_class
local old_skins_skin_class_set_hand_from_texture = skins.set_hand_from_texture
function skins:set_hand_from_texture()
if (core.get_current_modname() ~= nil) then
return old_skins_skin_class_set_hand_from_texture(self)
end
-- local hand = core.get_current_modname()..':'..self._texture:gsub('[%p%c%s]', '')
-- local hand = "skinsdb:playerLeetPeet0png"
-- self:set_hand(hand)
end