worked on riddler

This commit is contained in:
Luca Carnegie
2019-05-29 19:47:53 -04:00
parent c633473df6
commit 87afdf44f4
4 changed files with 32 additions and 31 deletions

View File

@@ -107,9 +107,9 @@ class CommandWords {
public static String replaceSynonym(String word) {
try {
String words = m_synonyms.get(word);
if(words == null)
if(words == null) {
throw new Exception();
else
}else
return words;
} catch(Exception e) {
return word;