Mine
public java v1 · immutable }// From HERE else if(questions.checkAnswer(message)) { sendMessage(channel, "Congratulations " + sender + ", that's correct!"); quizTimer.cancel(); quizTimer = new Timer(); scheduleNewQuestion(); } else { if(questions.hintChanged()) {// to HERE must not be interrupted by the other thread! sendMessage(channel, "Answer: " + questions.getHint()); } }