Merge pull request #3997 from deathbeam/remove-corp-useless-title

Remove title from corp panel
This commit is contained in:
Tomas Slusny
2018-06-27 10:28:44 +02:00
committed by GitHub

View File

@@ -42,7 +42,6 @@ import net.runelite.client.ui.overlay.OverlayPriority;
import net.runelite.client.ui.overlay.components.ComponentConstants;
import net.runelite.client.ui.overlay.components.LineComponent;
import net.runelite.client.ui.overlay.components.PanelComponent;
import net.runelite.client.ui.overlay.components.TitleComponent;
class CorpDamageOverlay extends Overlay
{
@@ -85,10 +84,6 @@ class CorpDamageOverlay extends Overlay
panelComponent.getChildren().clear();
panelComponent.getChildren().add(TitleComponent.builder()
.text("Corporeal Beast")
.build());
NPC core = corpPlugin.getCore();
if (core != null)
{