code improvement
This commit is contained in:
parent
4ec907cbce
commit
5cbeeefe6f
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ public class NBSConverter {
|
|||
}
|
||||
}
|
||||
|
||||
Song song = new Song(songName.trim().length() > 0 ? songName : fileName, bot, songName, songAuthor, songOriginalAuthor, songDescription, true);
|
||||
Song song = new Song(!songName.isBlank() ? songName : fileName, bot, songName, songAuthor, songOriginalAuthor, songDescription, true);
|
||||
if (loop > 0) {
|
||||
song.loopPosition = getMilliTime(loopStartTick, tempo);
|
||||
// song.loopCount = maxLoopCount;
|
||||
|
|
Loading…
Reference in a new issue