Skip to content

Commit

Permalink
Merge pull request runelite#4390 from Nightfirecat/remove-clue-scroll…
Browse files Browse the repository at this point in the history
…-plugin-useless-null-check

clue scroll plugin: Remove useless null check
  • Loading branch information
deathbeam authored Jul 18, 2018
2 parents 9fa8e12 + b36d6fa commit 2c463c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ private ClueScroll findClueScroll()
.replaceAll("[ ]+", " ")
.toLowerCase());

if (clue != null && clue instanceof TextClueScroll)
if (clue instanceof TextClueScroll)
{
if (((TextClueScroll) clue).getText().equalsIgnoreCase(text))
{
Expand Down

0 comments on commit 2c463c4

Please sign in to comment.