From 66b593d8cefb46c571c3af97d189cbae18f53fca Mon Sep 17 00:00:00 2001 From: VytskaLT <35194709+VytskaLT@users.noreply.github.com> Date: Tue, 12 Oct 2021 16:01:50 +0300 Subject: [PATCH] Backport GH-477 send times packet first yes --- .../main/java/net/kyori/adventure/audience/Audience.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/src/main/java/net/kyori/adventure/audience/Audience.java b/api/src/main/java/net/kyori/adventure/audience/Audience.java index 0d457e65b..d8cb897a3 100644 --- a/api/src/main/java/net/kyori/adventure/audience/Audience.java +++ b/api/src/main/java/net/kyori/adventure/audience/Audience.java @@ -443,11 +443,11 @@ default void sendPlayerListHeaderAndFooter(final @NotNull Component header, fina */ @ForwardingAudienceOverrideNotRequired default void showTitle(final @NotNull Title title) { - this.sendTitlePart(TitlePart.TITLE, title.title()); - this.sendTitlePart(TitlePart.SUBTITLE, title.subtitle()); - final Title.Times times = title.times(); if (times != null) this.sendTitlePart(TitlePart.TIMES, times); + + this.sendTitlePart(TitlePart.SUBTITLE, title.subtitle()); + this.sendTitlePart(TitlePart.TITLE, title.title()); } /**