mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2025-01-13 19:52:01 +01:00
Output meta in inheritance order in the 'meta info' command (#908)
This commit is contained in:
parent
8e5bcdd5ea
commit
4e87489dc1
@ -53,7 +53,7 @@ import net.kyori.text.event.ClickEvent;
|
|||||||
import net.kyori.text.event.HoverEvent;
|
import net.kyori.text.event.HoverEvent;
|
||||||
|
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
import java.util.HashSet;
|
import java.util.LinkedHashSet;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
import java.util.Set;
|
import java.util.Set;
|
||||||
@ -79,7 +79,7 @@ public class MetaInfo extends SharedSubCommand {
|
|||||||
|
|
||||||
SortedSet<Map.Entry<Integer, LocalizedNode>> prefixes = new TreeSet<>(MetaComparator.INSTANCE.reversed());
|
SortedSet<Map.Entry<Integer, LocalizedNode>> prefixes = new TreeSet<>(MetaComparator.INSTANCE.reversed());
|
||||||
SortedSet<Map.Entry<Integer, LocalizedNode>> suffixes = new TreeSet<>(MetaComparator.INSTANCE.reversed());
|
SortedSet<Map.Entry<Integer, LocalizedNode>> suffixes = new TreeSet<>(MetaComparator.INSTANCE.reversed());
|
||||||
Set<LocalizedNode> meta = new HashSet<>();
|
Set<LocalizedNode> meta = new LinkedHashSet<>();
|
||||||
|
|
||||||
// Collect data
|
// Collect data
|
||||||
for (LocalizedNode node : holder.resolveInheritances()) {
|
for (LocalizedNode node : holder.resolveInheritances()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user