mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-01-09 17:27:38 +00:00
Fixed warnings.
This commit is contained in:
parent
ffe5f89afc
commit
542aed6ffd
@ -141,7 +141,6 @@ public class PermissionsResolverManager implements PermissionsResolver {
|
|||||||
return permissionResolver.getGroups(player);
|
return permissionResolver.getGroups(player);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
|
||||||
private boolean loadConfig(File file) {
|
private boolean loadConfig(File file) {
|
||||||
boolean isUpdated = false;
|
boolean isUpdated = false;
|
||||||
if (!file.exists()) {
|
if (!file.exists()) {
|
||||||
@ -167,7 +166,7 @@ public class PermissionsResolverManager implements PermissionsResolver {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!keys.contains("resolvers")) {
|
if (!keys.contains("resolvers")) {
|
||||||
List<String> resolverKeys = config.getKeys("resolvers");
|
//List<String> resolverKeys = config.getKeys("resolvers");
|
||||||
List<String> resolvers = new ArrayList<String>();
|
List<String> resolvers = new ArrayList<String>();
|
||||||
for (Class<?> clazz : availableResolvers) {
|
for (Class<?> clazz : availableResolvers) {
|
||||||
resolvers.add(clazz.getSimpleName());
|
resolvers.add(clazz.getSimpleName());
|
||||||
|
Loading…
Reference in New Issue
Block a user