Changed to LinkedHashMap

master
Etzelia 2018-09-15 17:36:46 -05:00
parent e548133044
commit 2f897efa42
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ public class ListCommand implements CommandExecutor {
@Override
public boolean onCommand(CommandSender commandSender, Command command, String s, String[] strings) {
Map<String, List<String>> list = new HashMap<>();
LinkedHashMap<String, List<String>> list = new LinkedHashMap<>();
List<String> groups = plugin.getConfig().getStringList("list");
for (String group : groups) {
list.put(group, new ArrayList<>());