Open srcimon opened 4 months ago
Robot r = getRobot();
private static Robot getRobot() { try { return new Robot(); } catch (AWTException e) { throw new RuntimeException(e); } } @Override public void update() { if(position.y() < 4) { r.mouseMove(position.x(), 4); }
Robot r = getRobot();