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

Empty title string for sendTitle causes subtitles to not be displayed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • None
    • [Server thread/INFO]: This server is running CraftBukkit version 3162-Spigot-f773da8-b121d3b (MC: 1.17) (Implementing API version 1.17-R0.1-SNAPSHOT)
    • Yes

      When the player.sendTitle(string title, string subtitle, int, int, int) function is invoked, if the title string is an empty string (""), the subtitles will not be displayed at all.

      I have provided a simple plugin to test with with 2 commands, /title-test to play a normal title, and /title-test-2 to play a title with an empty string.

            Unassigned Unassigned
            ArcaneWarrior Arcane Warrior
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: