diff --git a/sponge/pom.xml b/sponge/pom.xml index 44c49e3b..35017b73 100644 --- a/sponge/pom.xml +++ b/sponge/pom.xml @@ -126,7 +126,7 @@ org.spongepowered spongeapi - 4.1.0 + 5.0.0-SNAPSHOT provided diff --git a/sponge/src/main/java/me/lucko/luckperms/service/LuckPermsService.java b/sponge/src/main/java/me/lucko/luckperms/service/LuckPermsService.java index 76d6a45a..4c57b9e7 100644 --- a/sponge/src/main/java/me/lucko/luckperms/service/LuckPermsService.java +++ b/sponge/src/main/java/me/lucko/luckperms/service/LuckPermsService.java @@ -69,11 +69,15 @@ public class LuckPermsService implements PermissionService { contextCalculators = ConcurrentHashMap.newKeySet(); } - @Override public SubjectData getDefaultData() { return null; // TODO } + @Override + public Subject getDefaults() { + return null; // TODO + } + @Override public SubjectCollection getSubjects(String s) { if (!subjects.containsKey(s)) { diff --git a/sponge/src/main/java/me/lucko/luckperms/service/simple/SimpleCollection.java b/sponge/src/main/java/me/lucko/luckperms/service/simple/SimpleCollection.java index e1f2ad0f..715bc0a7 100644 --- a/sponge/src/main/java/me/lucko/luckperms/service/simple/SimpleCollection.java +++ b/sponge/src/main/java/me/lucko/luckperms/service/simple/SimpleCollection.java @@ -82,4 +82,9 @@ public class SimpleCollection implements SubjectCollection { } return m; } + + @Override + public Subject getDefaults() { + return null; // TODO + } } diff --git a/sponge/src/main/java/me/lucko/luckperms/service/simple/SimpleSubject.java b/sponge/src/main/java/me/lucko/luckperms/service/simple/SimpleSubject.java index 3afa2a40..40038416 100644 --- a/sponge/src/main/java/me/lucko/luckperms/service/simple/SimpleSubject.java +++ b/sponge/src/main/java/me/lucko/luckperms/service/simple/SimpleSubject.java @@ -118,6 +118,16 @@ public class SimpleSubject implements Subject { return new ArrayList<>(parents.get(contexts)); } + @Override + public Optional getOption(Set set, String s) { + return null; // TODO + } + + @Override + public Optional getOption(String key) { + return null; // TODO + } + @Override public Set getActiveContexts() { return SubjectData.GLOBAL_CONTEXT; diff --git a/sponge/src/main/java/me/lucko/luckperms/service/wrapping/LuckPermsSubject.java b/sponge/src/main/java/me/lucko/luckperms/service/wrapping/LuckPermsSubject.java index 7f204338..ab07ec48 100644 --- a/sponge/src/main/java/me/lucko/luckperms/service/wrapping/LuckPermsSubject.java +++ b/sponge/src/main/java/me/lucko/luckperms/service/wrapping/LuckPermsSubject.java @@ -139,6 +139,16 @@ public class LuckPermsSubject implements Subject { return null; } + @Override + public Optional getOption(Set set, String s) { + return null; + } + + @Override + public Optional getOption(String key) { + return null; + } + @Override public Set getActiveContexts() { return SubjectData.GLOBAL_CONTEXT; @@ -357,6 +367,31 @@ public class LuckPermsSubject implements Subject { return false; } + @Override + public Map, Map> getAllOptions() { + return null; + } + + @Override + public Map getOptions(Set set) { + return null; + } + + @Override + public boolean setOption(Set set, String s, String s1) { + return false; + } + + @Override + public boolean clearOptions(Set set) { + return false; + } + + @Override + public boolean clearOptions() { + return false; + } + private Map applyContexts(@NonNull Set set) { final Map map = new HashMap<>();