runelite-client: move all main loop checks info try/catch

This commit is contained in:
Adam
2018-01-20 08:39:36 -05:00
parent 3172de963c
commit d1156a3b01

View File

@@ -84,19 +84,19 @@ public class Hooks
try
{
death.check();
// tick pending scheduled tasks
scheduler.tick();
// cull infoboxes
infoBoxManager.cull();
chatMessageManager.process();
}
catch (Exception ex)
{
log.warn("error during death check", ex);
log.warn("error during main loop tasks", ex);
}
// tick pending scheduled tasks
scheduler.tick();
// cull infoboxes
infoBoxManager.cull();
chatMessageManager.process();
}
public static void draw(MainBufferProvider mainBufferProvider, Graphics graphics, int x, int y)