raids: Use equals when comparing objects
This commit is contained in:
@@ -818,7 +818,7 @@ public class RaidsPlugin extends Plugin
|
||||
{
|
||||
list.clear();
|
||||
|
||||
if (list == rotationWhitelist)
|
||||
if (list.equals(rotationWhitelist))
|
||||
{
|
||||
Matcher m = ROTATION_REGEX.matcher(input);
|
||||
while (m.find())
|
||||
|
||||
@@ -97,7 +97,7 @@ public class RotationSolver
|
||||
}
|
||||
}
|
||||
|
||||
if (match != null && match != rotation)
|
||||
if (match != null && match.equals(rotation))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user