From ad139ab5bf4b6ef1f144d36af05dddf5882ea74c Mon Sep 17 00:00:00 2001 From: Raphael Date: Thu, 5 Sep 2024 10:14:06 +0200 Subject: [PATCH] Fix subtitle List generic (#25) --- docs/pages/server/labymod/displays/subtitles.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/server/labymod/displays/subtitles.md b/docs/pages/server/labymod/displays/subtitles.md index 244809e..ec39db8 100644 --- a/docs/pages/server/labymod/displays/subtitles.md +++ b/docs/pages/server/labymod/displays/subtitles.md @@ -66,7 +66,7 @@ While not recommended, it is also possible to send the subtitles directly via th ```java // Create or get a List of subtitles (array is also possible) -List subtitles = new ArrayList<>(); +List subtitles = new ArrayList<>(); // Add all subtitles you want to send to the player subtitles.add(Subtitle.create(uniqueId, ServerAPIComponent.text("Example Subtitle")));