Player getGameMode() can return null but is defined as @NotNull

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Minor
    • None
    • Affects Version/s: None
    • None
    • git-Spigot-628435a-b5e5adc
    • Yes

      Calling getGameMode() from a Player object returned by PlayerLoginEvent is null.

      I don't know if this information can be made available earlier for this event; otherwise the annotation should be updated.

            Assignee:
            Unassigned
            Reporter:
            Matt D.
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: