File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
bukkit-example/src/main/java/com/lunarclient/apollo/example/modules Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,9 +40,9 @@ public class NotificationExample {
4040 private final Notification uhcAnnouncement = Notification .builder ()
4141 .titleComponent (Component .text ("UHC Announcement" , NamedTextColor .GREEN ))
4242 .descriptionComponent (Component .text ("UHC starts in 5 minutes..." , NamedTextColor .RED )
43- .appendNewline ( )
43+ .append ( Component . newline () )
4444 .append (Component .text ("Get ready!" , NamedTextColor .WHITE ))
45- .appendNewline ( )
45+ .append ( Component . newline () )
4646 .append (Component .text ("Good luck!" , NamedTextColor .GOLD ))
4747 )
4848 .resourceLocation ("icons/golden_apple.png" ) // This field is optional
Original file line number Diff line number Diff line change @@ -24,9 +24,9 @@ The notification module allows you to send Lunar Client notifications to players
2424private final Notification uhcAnnouncement = Notification . builder()
2525 .titleComponent(Component . text(" UHC Announcement" , NamedTextColor . GREEN ))
2626 .descriptionComponent(Component . text(" UHC starts in 5 minutes..." , NamedTextColor . RED )
27- .appendNewline( )
27+ .append( Component . newline() )
2828 .append(Component . text(" Get ready!" , NamedTextColor . WHITE ))
29- .appendNewline( )
29+ .append( Component . newline() )
3030 .append(Component . text(" Good luck!" , NamedTextColor . GOLD ))
3131 )
3232 .resourceLocation(" icons/golden_apple.png" ) // This field is optional
You can’t perform that action at this time.
0 commit comments