mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-04-18 22:13:04 +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
|
* Replaces the Runtime class via instrumentation, transforms the class via ASM
|
||||||
*/
|
*/
|
||||||
private static void replaceClasses(boolean pb, boolean rt) {
|
private static void replaceClasses(boolean pb, boolean rt) {
|
||||||
|
java.awt.Robot.class.getName();
|
||||||
for(Class<?> c : inst.getAllLoadedClasses()) {
|
for(Class<?> c : inst.getAllLoadedClasses()) {
|
||||||
if(rt && c.getName().equals("java.lang.Runtime")) {
|
if(rt && c.getName().equals("java.lang.Runtime")) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue