From 72bf9a829735267c72624c7864b53cafbce809ae Mon Sep 17 00:00:00 2001 From: downthecrop Date: Mon, 21 Oct 2024 21:26:54 -0700 Subject: [PATCH] Drawsync loot items --- plugin-playground/src/main/kotlin/KondoKit/LootTrackerView.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin-playground/src/main/kotlin/KondoKit/LootTrackerView.kt b/plugin-playground/src/main/kotlin/KondoKit/LootTrackerView.kt index e293408..1702b04 100644 --- a/plugin-playground/src/main/kotlin/KondoKit/LootTrackerView.kt +++ b/plugin-playground/src/main/kotlin/KondoKit/LootTrackerView.kt @@ -412,7 +412,7 @@ object LootTrackerView { newDrops.forEach { drop -> val geValue = (gePriceMap[drop.id.toString()]?.toInt() ?: 0) * drop.quantity updateValueLabel(lootTrackerView, geValue.toString(), npcName) - addItemToLootPanel(lootTrackerView, drop, npcName) + plugin.registerDrawAction { addItemToLootPanel(lootTrackerView, drop, npcName) } updateTotalValue(geValue) } }