From 00aadb43fcf8d9557987f60f476a44f4b22a0c45 Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Mon, 30 Dec 2024 22:01:15 +0100 Subject: refactor: Add more item ids --- src/main/kotlin/moe/nea/ledger/modules/EyedropsDetection.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/kotlin/moe/nea/ledger/modules/EyedropsDetection.kt') diff --git a/src/main/kotlin/moe/nea/ledger/modules/EyedropsDetection.kt b/src/main/kotlin/moe/nea/ledger/modules/EyedropsDetection.kt index 2b1a8cd..04dbe80 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/EyedropsDetection.kt +++ b/src/main/kotlin/moe/nea/ledger/modules/EyedropsDetection.kt @@ -6,6 +6,7 @@ import moe.nea.ledger.LedgerEntry import moe.nea.ledger.LedgerLogger import moe.nea.ledger.TransactionType import moe.nea.ledger.events.ChatReceived +import moe.nea.ledger.gen.ItemIds import moe.nea.ledger.useMatcher import moe.nea.ledger.utils.di.Inject import net.minecraftforge.fml.common.eventhandler.SubscribeEvent @@ -25,7 +26,7 @@ class EyedropsDetection { TransactionType.CAPSAICIN_EYEDROPS_USED, event.timestamp, listOf( - ItemChange.lose(ItemId.CAP_EYEDROPS, 1) + ItemChange.lose(ItemIds.CAPSAICIN_EYEDROPS_NO_CHARGES, 1) ) ) ) -- cgit