Merge pull request #131 from runelite-extended/updatey

Update
This commit is contained in:
James
2019-04-25 22:35:07 -07:00
committed by GitHub

View File

@@ -134,7 +134,7 @@ public class AmmoPlugin extends Plugin
return; return;
} }
infoBoxManager.removeInfoBox(counterBox); removeInfobox();
final BufferedImage image = itemManager.getImage(item.getId(), 5, false); final BufferedImage image = itemManager.getImage(item.getId(), 5, false);
counterBox = new AmmoCounter(this, item.getId(), item.getQuantity(), comp.getName(), image); counterBox = new AmmoCounter(this, item.getId(), item.getQuantity(), comp.getName(), image);
infoBoxManager.addInfoBox(counterBox); infoBoxManager.addInfoBox(counterBox);