generated from your-land/yl_template
13 lines
497 B
Lua
13 lines
497 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 (minetest.get_current_modname() ~= nil) then
|
|
return old_skins_skin_class_set_hand_from_texture(self)
|
|
end
|
|
-- Not necessary, skinsdb sets a default hand!
|
|
-- local hand = minetest.get_current_modname()..':'..self._texture:gsub('[%p%c%s]', '')
|
|
-- local hand = "skinsdb:playerLeetPeet0png"
|
|
-- self:set_hand(hand)
|
|
end
|