geforkt von Mirrors/FastAsyncWorldEdit
Fixed a few warnings
Dieser Commit ist enthalten in:
Ursprung
2d7c462477
Commit
accd841b51
@ -59,6 +59,7 @@ public class PermissionsResolverManager implements PermissionsResolver {
|
|||||||
private String name;
|
private String name;
|
||||||
private Logger logger;
|
private Logger logger;
|
||||||
|
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
protected Class<? extends PermissionsResolver>[] availableResolvers = new Class[] {
|
protected Class<? extends PermissionsResolver>[] availableResolvers = new Class[] {
|
||||||
PluginPermissionsResolver.class,
|
PluginPermissionsResolver.class,
|
||||||
PermissionsExResolver.class,
|
PermissionsExResolver.class,
|
||||||
@ -87,7 +88,7 @@ public class PermissionsResolverManager implements PermissionsResolver {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void findResolver() {
|
public void findResolver() {
|
||||||
for (Class resolverClass : availableResolvers) {
|
for (Class<? extends PermissionsResolver> resolverClass : availableResolvers) {
|
||||||
try {
|
try {
|
||||||
Method factoryMethod = resolverClass.getMethod("factory", Server.class, Configuration.class);
|
Method factoryMethod = resolverClass.getMethod("factory", Server.class, Configuration.class);
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren