}
}
private void redispatch(final MouseEvent e) {
if (bot != null && bot.getLoader().getComponentCount() > 0) {
final Mouse mouse = bot.getMethodContext().mouse;
if (mouse == null) {
return; // client cannot currently accept events
}
final boolean present = mouse.isPresent();
final Component c = bot.getLoader().getComponent(0);
// account for horizontal offset
e.translatePoint(-offset.x, -offset.y);
// fire human mouse event for scripts
dispatchHuman(c, e);