mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-04-11 18:57:30 +03:00
[FIX] Не загруженный java.awt.Robot.
This commit is contained in:
parent
de2e53dfc2
commit
6580ef4d73
1 changed files with 1 additions and 0 deletions
|
@ -55,6 +55,7 @@ public static boolean isStarted() {
|
|||
* Replaces the Runtime class via instrumentation, transforms the class via ASM
|
||||
*/
|
||||
private static void replaceClasses(boolean pb, boolean rt) {
|
||||
java.awt.Robot.class.getName();
|
||||
for(Class<?> c : inst.getAllLoadedClasses()) {
|
||||
if(rt && c.getName().equals("java.lang.Runtime")) {
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue