I recreated your code based on your comments
@Override
public int onLoop() {
if (clayArea.contains(myPlayer())) {
} else if (!clayArea.contains(myPlayer())) {
} else {
this will never be executed
}
return 1500;
}
You can either be in the area or not. There is no third option, so the last else block will never get executed.