runecraft: Merge nested if statements
This commit is contained in:
@@ -206,12 +206,9 @@ public class RunecraftPlugin extends Plugin
|
||||
return;
|
||||
}
|
||||
|
||||
if (this.degradingNotification)
|
||||
if (this.degradingNotification && event.getMessage().contains(POUCH_DECAYED_MESSAGE))
|
||||
{
|
||||
if (event.getMessage().contains(POUCH_DECAYED_MESSAGE))
|
||||
{
|
||||
notifier.notify(POUCH_DECAYED_NOTIFICATION_MESSAGE);
|
||||
}
|
||||
notifier.notify(POUCH_DECAYED_NOTIFICATION_MESSAGE);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user