Actually register new migration command

This commit is contained in:
Luck 2016-11-11 20:35:11 +00:00
parent 2ce8555692
commit fefba7976b
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -77,6 +77,11 @@ public class MigrationMainCommand extends MainCommand<Object> {
l.add((SubCommand<Object>) Class.forName("me.lucko.luckperms.sponge.migration.MigrationPermissionsEx").newInstance());
} catch (Throwable ignored) {}
try {
Class.forName("io.github.djxy.permissionmanager.PermissionManager");
l.add((SubCommand<Object>) Class.forName("me.lucko.luckperms.sponge.migration.MigrationPermissionManager").newInstance());
} catch (Throwable ignored) {}
return l.stream().collect(Collectors.toList());
}