item charges: fix explorer's ring infobox caching

The infobox was being added each varbit change if the show infobox and show
explorer ring charges config settings were on. Introduced in
b89d535fcb
This commit is contained in:
Adam
2019-10-11 20:50:06 -04:00
parent 562ff3232e
commit 4d43f08e0d

View File

@@ -340,6 +340,7 @@ public class ItemChargePlugin extends Plugin
int explorerRingCharge = client.getVar(Varbits.EXPLORER_RING_ALCHS);
if (lastExplorerRingCharge != explorerRingCharge)
{
lastExplorerRingCharge = explorerRingCharge;
updateExplorerRingCharges(explorerRingCharge);
}
}