From 2f897efa422c29e4ebfae2367be89404bcb2964f Mon Sep 17 00:00:00 2001 From: Etzelia Date: Sat, 15 Sep 2018 17:36:46 -0500 Subject: [PATCH] Changed to LinkedHashMap --- src/main/java/xyz/etztech/qol/commands/ListCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/xyz/etztech/qol/commands/ListCommand.java b/src/main/java/xyz/etztech/qol/commands/ListCommand.java index 6d10fab..809a5e2 100644 --- a/src/main/java/xyz/etztech/qol/commands/ListCommand.java +++ b/src/main/java/xyz/etztech/qol/commands/ListCommand.java @@ -22,7 +22,7 @@ public class ListCommand implements CommandExecutor { @Override public boolean onCommand(CommandSender commandSender, Command command, String s, String[] strings) { - Map> list = new HashMap<>(); + LinkedHashMap> list = new LinkedHashMap<>(); List groups = plugin.getConfig().getStringList("list"); for (String group : groups) { list.put(group, new ArrayList<>());