Fix build error
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Bea 2024-08-05 21:38:53 +02:00
parent c3c1b99f1b
commit 7cc01d9d29

View File

@ -24,7 +24,7 @@ public class SingleStepMovementTask extends TimerTask {
boolean click; boolean click;
public SingleStepMovementTask(int destinationX, int destinationY, boolean click) { public SingleStepMovementTask(int destinationX, int destinationY, boolean click) throws AWTException {
this.click = click; this.click = click;
@ -52,11 +52,7 @@ public class SingleStepMovementTask extends TimerTask {
LOGGER.info("Len: [{}, {}]", lengthX, lengthY); LOGGER.info("Len: [{}, {}]", lengthX, lengthY);
LOGGER.info("Step: [{}, {}]", stepX, stepY); LOGGER.info("Step: [{}, {}]", stepX, stepY);
try { robot = new Robot();
robot = new Robot();
} catch (AWTException e) {
LOGGER.error(e);
}
} }