raids: Use equals when comparing objects

This commit is contained in:
sdburns1998
2019-07-07 18:09:59 +02:00
parent 4f0aee61fc
commit 80e88bd529
2 changed files with 2 additions and 2 deletions

View File

@@ -818,7 +818,7 @@ public class RaidsPlugin extends Plugin
{ {
list.clear(); list.clear();
if (list == rotationWhitelist) if (list.equals(rotationWhitelist))
{ {
Matcher m = ROTATION_REGEX.matcher(input); Matcher m = ROTATION_REGEX.matcher(input);
while (m.find()) while (m.find())

View File

@@ -97,7 +97,7 @@ public class RotationSolver
} }
} }
if (match != null && match != rotation) if (match != null && match.equals(rotation))
{ {
return; return;
} }