Terraria.ModLoader.PlayerHooks.CopyCustomBiomesTo C# (CSharp) Method

CopyCustomBiomesTo() public static method

public static CopyCustomBiomesTo ( Player player, Player other ) : void
player Player
other Player
return void
        public static void CopyCustomBiomesTo(Player player, Player other)
        {
            foreach (ModPlayer modPlayer in player.modPlayers)
            {
                modPlayer.CopyCustomBiomesTo(other);
            }
        }