raids: Use equals when comparing objects
This commit is contained in:
@@ -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())
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ public class RotationSolver
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (match != null && match != rotation)
|
if (match != null && match.equals(rotation))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user