mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-28 11:25:57 +00:00
fix API ClassCastException
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -68,7 +68,7 @@ public class PermissionHolderDelegate implements PermissionHolder {
|
||||
|
||||
@Override
|
||||
public SortedSet<? extends Node> getPermissions() {
|
||||
return ImmutableSortedSet.copyOf(master.getPermissions(false));
|
||||
return ImmutableSortedSet.copyOfSorted(master.getPermissions(false));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -83,7 +83,7 @@ public class Log {
|
||||
private final SortedSet<LogEntry> content;
|
||||
|
||||
public Log(SortedSet<LogEntry> content) {
|
||||
this.content = ImmutableSortedSet.copyOf(content);
|
||||
this.content = ImmutableSortedSet.copyOfSorted(content);
|
||||
}
|
||||
|
||||
public SortedSet<LogEntry> getRecent() {
|
||||
|
||||
Reference in new issue
Block a user