forked from Minecraft/QoL
Changed to LinkedHashMap
parent
e548133044
commit
2f897efa42
|
@ -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<>());
|
||||
|
|
Loading…
Reference in New Issue