Skip to content

Commit

Permalink
Merge pull request #477 from VytskaLT/master
Browse files Browse the repository at this point in the history
  • Loading branch information
zml2008 authored Oct 16, 2021
2 parents 3d6eaaf + 41aefec commit eea1a16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/src/main/java/net/kyori/adventure/audience/Audience.java
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}

/**
Expand Down

0 comments on commit eea1a16

Please sign in to comment.