mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-12-28 03:57:36 +01:00
Build against Sponge API 5.0.0
This commit is contained in:
parent
edaf174ebf
commit
2ea9b36c77
@ -126,7 +126,7 @@
|
||||
<dependency>
|
||||
<groupId>org.spongepowered</groupId>
|
||||
<artifactId>spongeapi</artifactId>
|
||||
<version>4.1.0</version>
|
||||
<version>5.0.0-SNAPSHOT</version>
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
<!-- LuckPerms Common -->
|
||||
|
@ -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)) {
|
||||
|
@ -82,4 +82,9 @@ public class SimpleCollection implements SubjectCollection {
|
||||
}
|
||||
return m;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Subject getDefaults() {
|
||||
return null; // TODO
|
||||
}
|
||||
}
|
||||
|
@ -118,6 +118,16 @@ public class SimpleSubject implements Subject {
|
||||
return new ArrayList<>(parents.get(contexts));
|
||||
}
|
||||
|
||||
@Override
|
||||
public Optional<String> getOption(Set<Context> set, String s) {
|
||||
return null; // TODO
|
||||
}
|
||||
|
||||
@Override
|
||||
public Optional<String> getOption(String key) {
|
||||
return null; // TODO
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<Context> getActiveContexts() {
|
||||
return SubjectData.GLOBAL_CONTEXT;
|
||||
|
@ -139,6 +139,16 @@ public class LuckPermsSubject implements Subject {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Optional<String> getOption(Set<Context> set, String s) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Optional<String> getOption(String key) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<Context> getActiveContexts() {
|
||||
return SubjectData.GLOBAL_CONTEXT;
|
||||
@ -357,6 +367,31 @@ public class LuckPermsSubject implements Subject {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<Set<Context>, Map<String, String>> getAllOptions() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<String, String> getOptions(Set<Context> set) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean setOption(Set<Context> set, String s, String s1) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean clearOptions(Set<Context> set) {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean clearOptions() {
|
||||
return false;
|
||||
}
|
||||
|
||||
private Map<String, Boolean> applyContexts(@NonNull Set<Context> set) {
|
||||
final Map<String, Boolean> map = new HashMap<>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user