clue scroll plugin: Remove useless null check

This commit is contained in:
Jordan Atwood
2018-07-18 15:48:15 -07:00
parent 69d8b74a09
commit b36d6fa410

View File

@@ -447,7 +447,7 @@ public class ClueScrollPlugin extends Plugin
.replaceAll("[ ]+", " ") .replaceAll("[ ]+", " ")
.toLowerCase()); .toLowerCase());
if (clue != null && clue instanceof TextClueScroll) if (clue instanceof TextClueScroll)
{ {
if (((TextClueScroll) clue).getText().equalsIgnoreCase(text)) if (((TextClueScroll) clue).getText().equalsIgnoreCase(text))
{ {