mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-23 08:29:34 +01:00
Fix mcl_meshhand race condition
This commit is contained in:
parent
c4558a31ab
commit
98b3003e07
1 changed files with 0 additions and 5 deletions
|
@ -17,11 +17,6 @@ if has_mcl_skins == true then
|
|||
})
|
||||
end
|
||||
--change the player's hand to their skin
|
||||
minetest.register_on_joinplayer(function(player)
|
||||
local skin = mcl_skins.skins[player:get_player_name()]
|
||||
player:get_inventory():set_stack("hand", 1, "mcl_meshhand:"..skin)
|
||||
end)
|
||||
|
||||
mcl_skins.register_on_set_skin(function(player, skin)
|
||||
local name = player:get_player_name()
|
||||
player:get_inventory():set_stack("hand", 1, "mcl_meshhand:"..skin)
|
||||
|
|
Loading…
Reference in a new issue