mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-12-26 19:18:17 +01:00
Fix compile
This commit is contained in:
parent
5e16134f6f
commit
f6aa20c300
@ -22,7 +22,6 @@
|
||||
|
||||
package me.lucko.luckperms.api.sponge.collections;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.NonNull;
|
||||
import me.lucko.luckperms.api.sponge.LuckPermsService;
|
||||
import me.lucko.luckperms.api.sponge.LuckPermsSubject;
|
||||
@ -38,11 +37,16 @@ import java.util.Map;
|
||||
import java.util.Set;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@AllArgsConstructor
|
||||
public class GroupCollection implements SubjectCollection {
|
||||
private final LuckPermsService service;
|
||||
private final GroupManager manager;
|
||||
private final SimpleCollection fallback = new SimpleCollection(service, "fallback-groups");
|
||||
private final SimpleCollection fallback;
|
||||
|
||||
public GroupCollection(LuckPermsService service, GroupManager manager) {
|
||||
this.service = service;
|
||||
this.manager = manager;
|
||||
this.fallback = new SimpleCollection(service, "fallback-groups");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getIdentifier() {
|
||||
|
@ -22,7 +22,6 @@
|
||||
|
||||
package me.lucko.luckperms.api.sponge.collections;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import lombok.NonNull;
|
||||
import me.lucko.luckperms.api.sponge.LuckPermsService;
|
||||
@ -42,15 +41,20 @@ import java.util.UUID;
|
||||
import java.util.concurrent.ConcurrentHashMap;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@AllArgsConstructor
|
||||
public class UserCollection implements SubjectCollection {
|
||||
private final LuckPermsService service;
|
||||
private final UserManager manager;
|
||||
private final SimpleCollection fallback = new SimpleCollection(service, "fallback-users");
|
||||
private final SimpleCollection fallback;
|
||||
|
||||
@Getter
|
||||
private final Map<UUID, LuckPermsUserSubject> users = new ConcurrentHashMap<>();
|
||||
|
||||
public UserCollection(LuckPermsService service, UserManager manager) {
|
||||
this.service = service;
|
||||
this.manager = manager;
|
||||
this.fallback = new SimpleCollection(service, "fallback-users");
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getIdentifier() {
|
||||
return PermissionService.SUBJECTS_USER;
|
||||
|
Loading…
Reference in New Issue
Block a user