Update NightmareZoneOverlay.java

This commit is contained in:
Kyleeld
2019-07-02 13:28:15 +01:00
committed by GitHub
parent 923ddb190d
commit 9e8445cd1c

View File

@@ -107,7 +107,12 @@ class NightmareZoneOverlay extends Overlay
TableComponent tableComponent = new TableComponent();
tableComponent.setColumnAlignments(TableAlignment.LEFT, TableAlignment.RIGHT);
tableComponent.addRow("Points:", StackFormatter.formatNumber(client.getVar(Varbits.NMZ_POINTS)));
tableComponent.addRow("Total:", StackFormatter.formatNumber(client.getVar(VarPlayer.NMZ_REWARD_POINTS) + client.getVar(Varbits.NMZ_POINTS)));
if (config.showtotalpoints())
{
tableComponent.addRow("Total:", StackFormatter.formatNumber(client.getVar(VarPlayer.NMZ_REWARD_POINTS) + client.getVar(Varbits.NMZ_POINTS)));
}
panelComponent.getChildren().add(tableComponent);
return panelComponent.render(graphics);