From 292bb81d678bc3c9678dc8d8b42c7b7611ed34dc Mon Sep 17 00:00:00 2001 From: Auxilor Date: Mon, 30 Oct 2023 12:52:51 +0000 Subject: [PATCH] Smelt now returns the total number of items smelted --- .../kotlin/com/willfp/libreforge/triggers/impl/TriggerSmelt.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/kotlin/com/willfp/libreforge/triggers/impl/TriggerSmelt.kt b/core/src/main/kotlin/com/willfp/libreforge/triggers/impl/TriggerSmelt.kt index a6c0830b8..59ff95dc7 100644 --- a/core/src/main/kotlin/com/willfp/libreforge/triggers/impl/TriggerSmelt.kt +++ b/core/src/main/kotlin/com/willfp/libreforge/triggers/impl/TriggerSmelt.kt @@ -25,7 +25,8 @@ object TriggerSmelt : Trigger("smelt") { player, TriggerData( player = player, - item = item + item = item, + value = item.amount.toDouble(), ) ) }