Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-6314

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

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 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.

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

              Created:
              Updated: