Skip to content

Commit

Permalink
Fix author visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ErdbeerbaerLP committed Jul 10, 2024
1 parent 0453e91 commit 63abe3d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ public boolean playFromDefault()
public String getCurrentTrack(JDA jda) {
if (this.isMusicPlaying(jda)) {
final StringBuilder b = new StringBuilder();
if(this.audioPlayer.getPlayingTrack().getInfo().author != null && this.audioPlayer.getPlayingTrack().getInfo().author.isEmpty())
if(this.audioPlayer.getPlayingTrack().getInfo().author != null && !this.audioPlayer.getPlayingTrack().getInfo().author.isEmpty())
b.append(this.audioPlayer.getPlayingTrack().getInfo().author).append(" - ");
return b.append(this.audioPlayer.getPlayingTrack().getInfo().title).toString();
}
Expand Down

0 comments on commit 63abe3d

Please sign in to comment.