demonicgorilla: Use equals when comparing objects
This commit is contained in:
@@ -206,7 +206,7 @@ public class DemonicGorillaPlugin extends Plugin
|
|||||||
}
|
}
|
||||||
boolean correctPrayer =
|
boolean correctPrayer =
|
||||||
target == null || // If player is out of memory, assume prayer was correct
|
target == null || // If player is out of memory, assume prayer was correct
|
||||||
attackStyle == protectedStyle;
|
attackStyle.equals(protectedStyle);
|
||||||
|
|
||||||
if (attackStyle == DemonicGorilla.AttackStyle.BOULDER)
|
if (attackStyle == DemonicGorilla.AttackStyle.BOULDER)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user