fCraft.Portals.PortalHandler.Player_JoinedWorld C# (CSharp) Method

Player_JoinedWorld() private static method

private static Player_JoinedWorld ( object sender, Events e ) : void
sender object
e Events
return void
        private static void Player_JoinedWorld( object sender, Events.PlayerJoinedWorldEventArgs e )
        {
            try {
                // Player can use portals again
                e.Player.CanUsePortal = true;
                e.Player.LastUsedPortal = DateTime.UtcNow;
            } catch ( Exception ex ) {
                Logger.Log( LogType.Error, "PortalHandler.Player_JoinedWorld: " + ex );
            }
        }