Reset clue on unknown clues
If we opened clue but it is uknown simply reset clue overlay Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
@@ -352,7 +352,16 @@ public class ClueScrollPlugin extends Plugin
|
||||
return emoteClue;
|
||||
}
|
||||
|
||||
return FairyRingClue.forText(text);
|
||||
final FairyRingClue fairyRingClue = FairyRingClue.forText(text);
|
||||
|
||||
if (fairyRingClue != null)
|
||||
{
|
||||
return fairyRingClue;
|
||||
}
|
||||
|
||||
// We have unknown clue, reset
|
||||
resetClue();
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user