Skip to content

Commit ad139ab

Browse files
authored
Fix subtitle List generic (#25)
1 parent f43aad4 commit ad139ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pages/server/labymod/displays/subtitles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ While not recommended, it is also possible to send the subtitles directly via th
6666

6767
```java
6868
// Create or get a List of subtitles (array is also possible)
69-
List<Permission.StatedPermission> subtitles = new ArrayList<>();
69+
List<Subtitle> subtitles = new ArrayList<>();
7070

7171
// Add all subtitles you want to send to the player
7272
subtitles.add(Subtitle.create(uniqueId, ServerAPIComponent.text("Example Subtitle")));

0 commit comments

Comments
 (0)