mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-09 04:20:34 +01:00
Actually register new migration command
This commit is contained in:
parent
2ce8555692
commit
fefba7976b
@ -77,6 +77,11 @@ public class MigrationMainCommand extends MainCommand<Object> {
|
|||||||
l.add((SubCommand<Object>) Class.forName("me.lucko.luckperms.sponge.migration.MigrationPermissionsEx").newInstance());
|
l.add((SubCommand<Object>) Class.forName("me.lucko.luckperms.sponge.migration.MigrationPermissionsEx").newInstance());
|
||||||
} catch (Throwable ignored) {}
|
} 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());
|
return l.stream().collect(Collectors.toList());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user