From 02d30d2a4c9f582b294af7ae5a7e4ea43fea4ad5 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Tue, 9 Sep 2014 16:10:45 -0700 Subject: Use generic sort wrapper --- src/github/daneren2005/dsub/service/parser/MusicDirectoryParser.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/github/daneren2005/dsub/service/parser/MusicDirectoryParser.java b/src/github/daneren2005/dsub/service/parser/MusicDirectoryParser.java index 05e8b274..a5500505 100644 --- a/src/github/daneren2005/dsub/service/parser/MusicDirectoryParser.java +++ b/src/github/daneren2005/dsub/service/parser/MusicDirectoryParser.java @@ -96,9 +96,7 @@ public class MusicDirectoryParser extends MusicDirectoryEntryParser { validate(); // Only apply sorting on server version 4.7 and greater, where disc is supported - if(ServerInfo.checkServerVersion(context, "1.8.0", instance)) { - dir.sortChildren(Util.getPreferences(context).getBoolean(Constants.PREFERENCES_KEY_CUSTOM_SORT_ENABLED, true)); - } + dir.sortChildren(context, instance); return dir; } -- cgit v1.2.3