mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-03 00:37:55 +00:00
[BUGFIX] Solves NoSuchMethodError for Thread
Thread.setUncaughtExceptionHandler
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package org.parabot.core.asm.redirect;
|
||||
|
||||
import org.parabot.core.Core;
|
||||
import org.parabot.core.asm.RedirectClassAdapter;
|
||||
|
||||
public class ThreadRedirect {
|
||||
@@ -58,4 +59,8 @@ public class ThreadRedirect {
|
||||
Thread.sleep(time);
|
||||
}
|
||||
|
||||
|
||||
public static void setUncaughtExceptionHandler(Thread t, Thread.UncaughtExceptionHandler handler){
|
||||
t.setUncaughtExceptionHandler(handler);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user