hiscores: local variables
This commit is contained in:
@@ -129,15 +129,11 @@ public class HiscorePanel extends PluginPanel
|
||||
|
||||
private final List<JLabel> skillLabels = new ArrayList<>();
|
||||
|
||||
private final JPanel statsPanel = new JPanel();
|
||||
|
||||
/* Container of all the selectable endpoints (ironman, deadman, etc) */
|
||||
private final MaterialTabGroup tabGroup;
|
||||
|
||||
private final HiscoreClient hiscoreClient = new HiscoreClient();
|
||||
|
||||
private HiscoreResult result;
|
||||
|
||||
/* The currently selected endpoint */
|
||||
private HiscoreEndpoint selectedEndPoint;
|
||||
|
||||
@@ -247,6 +243,7 @@ public class HiscorePanel extends PluginPanel
|
||||
|
||||
// Panel that holds skill icons
|
||||
GridLayout stats = new GridLayout(8, 3);
|
||||
JPanel statsPanel = new JPanel();
|
||||
statsPanel.setLayout(stats);
|
||||
statsPanel.setBackground(ColorScheme.DARKER_GRAY_COLOR);
|
||||
statsPanel.setBorder(new EmptyBorder(5, 0, 5, 0));
|
||||
@@ -371,6 +368,7 @@ public class HiscorePanel extends PluginPanel
|
||||
selectedEndPoint = HiscoreEndpoint.NORMAL;
|
||||
}
|
||||
|
||||
HiscoreResult result;
|
||||
try
|
||||
{
|
||||
log.debug("Hiscore endpoint " + selectedEndPoint.name() + " selected");
|
||||
|
||||
Reference in New Issue
Block a user