Skip to content

Commit

Permalink
Add native UChat support for sendTitle
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberedCake committed Jul 6, 2022
1 parent 4f30cf3 commit 1e8d413
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ public void sendTitle(Player player, String title, String subtitle) {
* @since 3.0.0
*/
public void sendTitle(Player player, String title, String subtitle, int fadeIn, int stay, int fadeOut) {
player.sendTitle(title, subtitle, fadeIn, stay, fadeOut);
player.sendTitle(UChat.chat(title), UChat.chat(subtitle), fadeIn, stay, fadeOut);
}

/**
Expand Down

0 comments on commit 1e8d413

Please sign in to comment.