runelite-client: move all main loop checks info try/catch
This commit is contained in:
@@ -84,11 +84,6 @@ public class Hooks
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
death.check();
|
death.check();
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
log.warn("error during death check", ex);
|
|
||||||
}
|
|
||||||
|
|
||||||
// tick pending scheduled tasks
|
// tick pending scheduled tasks
|
||||||
scheduler.tick();
|
scheduler.tick();
|
||||||
@@ -98,6 +93,11 @@ public class Hooks
|
|||||||
|
|
||||||
chatMessageManager.process();
|
chatMessageManager.process();
|
||||||
}
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
log.warn("error during main loop tasks", ex);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public static void draw(MainBufferProvider mainBufferProvider, Graphics graphics, int x, int y)
|
public static void draw(MainBufferProvider mainBufferProvider, Graphics graphics, int x, int y)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user