mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-28 05:35:26 +01:00
Fix Sponge PermissionDescription lookups (#425)
This commit is contained in:
parent
3951725852
commit
07eb17f5d5
@ -83,12 +83,12 @@ public final class SimpleDescription implements LPPermissionDescription {
|
||||
@Override
|
||||
public CompletableFuture<Map<SubjectReference, Boolean>> findAssignedSubjects(String id) {
|
||||
LPSubjectCollection collection = service.getCollection(id);
|
||||
return (CompletableFuture) collection.getAllWithPermission(id);
|
||||
return (CompletableFuture) collection.getAllWithPermission(this.id);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<LPSubject, Boolean> getAssignedSubjects(String id) {
|
||||
LPSubjectCollection collection = service.getCollection(id);
|
||||
return collection.getLoadedWithPermission(id);
|
||||
return collection.getLoadedWithPermission(this.id);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user