diff --git a/mods/HELP/mcl_craftguide/init.lua b/mods/HELP/mcl_craftguide/init.lua index 3bc7b705a..989f1a2b5 100644 --- a/mods/HELP/mcl_craftguide/init.lua +++ b/mods/HELP/mcl_craftguide/init.lua @@ -1093,9 +1093,13 @@ if progressive_mode then mcl_craftguide.add_recipe_filter("Default progressive filter", progressive_filter) + M.register_on_authplayer(function(name, ip, is_success) + if not is_success then return + init_data(name) + end) + M.register_on_joinplayer(function(player) local name = player:get_player_name() - init_data(name) local meta = player:get_meta() local data = player_data[name] diff --git a/mods/PLAYER/mcl_playerinfo/init.lua b/mods/PLAYER/mcl_playerinfo/init.lua index 9c5d1433f..1ff5add71 100644 --- a/mods/PLAYER/mcl_playerinfo/init.lua +++ b/mods/PLAYER/mcl_playerinfo/init.lua @@ -73,9 +73,8 @@ minetest.register_globalstep(function(dtime) end) -- set to blank on join (for 3rd party mods) -minetest.register_on_joinplayer(function(player) - local name = player:get_player_name() - +minetest.register_on_authlayer(function(name, ip, is_success) + if not is_success then return end mcl_playerinfo[name] = { node_head = "", node_feet = "",