From 98b3003e07f1ab85e83547dc922109f603dcfa51 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 6 Mar 2019 06:25:03 +0100 Subject: [PATCH] Fix mcl_meshhand race condition --- mods/PLAYER/mcl_meshhand/init.lua | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mods/PLAYER/mcl_meshhand/init.lua b/mods/PLAYER/mcl_meshhand/init.lua index 1e318a5b5..87b9e6927 100644 --- a/mods/PLAYER/mcl_meshhand/init.lua +++ b/mods/PLAYER/mcl_meshhand/init.lua @@ -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)