diff --git a/src/main/java/net/robinfriedli/botify/audio/youtube/HollowYouTubeVideo.java b/src/main/java/net/robinfriedli/botify/audio/youtube/HollowYouTubeVideo.java index 86fa4b97..75b56ba6 100644 --- a/src/main/java/net/robinfriedli/botify/audio/youtube/HollowYouTubeVideo.java +++ b/src/main/java/net/robinfriedli/botify/audio/youtube/HollowYouTubeVideo.java @@ -27,11 +27,7 @@ public class HollowYouTubeVideo extends AbstractSoftCachedPlayable implements Yo private boolean canceled = false; public HollowYouTubeVideo(YouTubeService youTubeService) { - this.youTubeService = youTubeService; - this.title = new CompletableFuture<>(); - this.id = new CompletableFuture<>(); - this.duration = new CompletableFuture<>(); - this.redirectedSpotifyTrack = null; + this(youTubeService, null); } public HollowYouTubeVideo(YouTubeService youTubeService, @Nullable Track redirectedSpotifyTrack) {