Correct voice channel show on wrong order on web page
This commit is contained in:
parent
3cd9c0064e
commit
f216808663
@ -14,6 +14,7 @@ import org.apache.logging.log4j.Logger;
|
||||
import org.springframework.context.ApplicationContext;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
@ -54,6 +55,8 @@ public class GetVoiceChanels {
|
||||
|
||||
}
|
||||
|
||||
list.sort(Comparator.comparingInt(Channel::getPositionRaw));
|
||||
|
||||
return list;
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user