geforkt von Mirrors/FastAsyncWorldEdit
Fixed warnings.
Dieser Commit ist enthalten in:
Ursprung
ffe5f89afc
Commit
542aed6ffd
@ -141,7 +141,6 @@ public class PermissionsResolverManager implements PermissionsResolver {
|
||||
return permissionResolver.getGroups(player);
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
private boolean loadConfig(File file) {
|
||||
boolean isUpdated = false;
|
||||
if (!file.exists()) {
|
||||
@ -167,7 +166,7 @@ public class PermissionsResolverManager implements PermissionsResolver {
|
||||
}
|
||||
|
||||
if (!keys.contains("resolvers")) {
|
||||
List<String> resolverKeys = config.getKeys("resolvers");
|
||||
//List<String> resolverKeys = config.getKeys("resolvers");
|
||||
List<String> resolvers = new ArrayList<String>();
|
||||
for (Class<?> clazz : availableResolvers) {
|
||||
resolvers.add(clazz.getSimpleName());
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren