Esempio n. 1
0
        /// <summary>
        /// Teleports a player to another player
        /// </summary>
        /// <param name="player">The source player</param>
        /// <param name="target">The target player</param>
        public void TeleportPlayer(WorldPlayer player, WorldPlayer target)
        {
            if (player == null)
            {
                m_Client.Log.Add(FluidLogCategory.Suggestion, "Check if your player is null before attempting to use it.");
                return;
            }

            this.TeleportPlayer(player, target.GetBlockLocation());
        }