mirror of
https://github.com/2006-Scape/Parabot.git
synced 2026-07-07 00:38:16 +00:00
[BUGFIX] Added Thread#isInterrupted redirect
This commit is contained in:
@@ -61,4 +61,8 @@ public class ThreadRedirect {
|
|||||||
public static void setUncaughtExceptionHandler(Thread t, Thread.UncaughtExceptionHandler handler) {
|
public static void setUncaughtExceptionHandler(Thread t, Thread.UncaughtExceptionHandler handler) {
|
||||||
t.setUncaughtExceptionHandler(handler);
|
t.setUncaughtExceptionHandler(handler);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static boolean isInterrupted(Thread thread) {
|
||||||
|
return thread.isInterrupted();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user