Skip to content

Commit

Permalink
Merge pull request #64 from VytskaLT/master
Browse files Browse the repository at this point in the history
Fix titles on 1.8
  • Loading branch information
kashike authored Oct 20, 2021
2 parents 8206a68 + 3b2f17b commit dc1566d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -296,11 +296,11 @@ public void showTitle(final net.kyori.adventure.title.@NotNull Title original) {
final int outTicks = times == null ? -1 : this.title.toTicks(times.fadeOut());

final Object collection = this.title.createTitleCollection();
this.title.contributeTitle(collection, mainTitle);
this.title.contributeSubtitle(collection, subTitle);
if (inTicks != -1 || stayTicks != -1 || outTicks != -1) {
this.title.contributeTimes(collection, inTicks, stayTicks, outTicks);
}
this.title.contributeSubtitle(collection, subTitle);
this.title.contributeTitle(collection, mainTitle);
final Object title = this.title.completeTitle(collection);
if (title == null) return;

Expand Down

0 comments on commit dc1566d

Please sign in to comment.