runecraft: Merge nested if statements
This commit is contained in:
@@ -206,14 +206,11 @@ public class RunecraftPlugin extends Plugin
|
|||||||
return;
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
@Subscribe
|
@Subscribe
|
||||||
public void onMenuEntryAdded(MenuEntryAdded entry)
|
public void onMenuEntryAdded(MenuEntryAdded entry)
|
||||||
|
|||||||
Reference in New Issue
Block a user