loot tracker: add ability to have end of raid tob chest loot value in a chatmessage

This commit is contained in:
melkypie
2020-06-28 17:17:09 +03:00
committed by Adam
parent 1ee41dba5a
commit ffafa3a91a
2 changed files with 43 additions and 1 deletions

View File

@@ -547,7 +547,7 @@ public class LootTrackerPlugin extends Plugin
.map(item -> new ItemStack(item.getId(), item.getQuantity(), client.getLocalPlayer().getLocalLocation()))
.collect(Collectors.toList());
if (config.showRaidsLootValue() && event.equals("Chambers of Xeric"))
if (config.showRaidsLootValue() && (event.equals("Theatre of Blood") || event.equals("Chambers of Xeric")))
{
long totalValue = items.stream()
.filter(item -> item.getId() > -1)