mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
[FEATURE] Возможность дерегистрации ClientModuleClass
This commit is contained in:
parent
7f441ad98e
commit
71a08fe96a
1 changed files with 8 additions and 0 deletions
|
@ -87,6 +87,14 @@ public void registerClientModuleClass(String clazz) {
|
||||||
MODULE_CLASS.add(clazz);
|
MODULE_CLASS.add(clazz);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void unregisterClientModuleClass(String clazz) {
|
||||||
|
MODULE_CLASS.remove(clazz);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void clearClientModuleClassList() {
|
||||||
|
MODULE_CLASS.clear();
|
||||||
|
}
|
||||||
|
|
||||||
public void registerIgnoredClass(String clazz) {
|
public void registerIgnoredClass(String clazz) {
|
||||||
CLASS_BLACKLIST.add(clazz);
|
CLASS_BLACKLIST.add(clazz);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue