Skip to content

We need to understand how to process such code. #60

@skulidropek

Description

@skulidropek

before

        private object CanUnlock(BasePlayer player)
        {
            if (player == null)
            {
                return null;
            }
            Console.WriteLine("Player is null");
            return player == null ? null : (object)true;
        }

after

        private object CanUnlock(BasePlayer player)
        {
            if (player == null)
            {
                return null;
            }
            Console.WriteLine("Player is null");
            return (object)true;
        }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions