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

First join after ban expiration results in an internal server error.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • Running with JRE 17.

      One plugin enabled as described below.

    • CraftBukkit version 4049-Spigot-c198da2-5bf12cb (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT)
    • (custom)
    • Yes

      Steps to recreate:

      1. Create a new Spigot plugin (API version 1.20)
      2. Create a new command in said plugin.
      3. In the command, ban the player that ran the command using Player#ban.
        I have tested with both Duration and Date variants of the method.
      4. After the ban expires, join the server.
      5. See that an internal server error has occurred and that the player did not successfully join the server.
      6. See that on the next join attempt, the player can join as normal.

      Stack trace attached.

            Doc Doc
            Sulphate Matthew Lester
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: