From 1c0090ec301b87edebc29453287e585f88de2c4f Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Mon, 30 Dec 2024 21:48:56 +0100 Subject: feat: Add auto generated ItemIds class --- src/main/kotlin/moe/nea/ledger/modules/GambleDetection.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/kotlin/moe/nea/ledger/modules') diff --git a/src/main/kotlin/moe/nea/ledger/modules/GambleDetection.kt b/src/main/kotlin/moe/nea/ledger/modules/GambleDetection.kt index 6a339d7..0ef43a2 100644 --- a/src/main/kotlin/moe/nea/ledger/modules/GambleDetection.kt +++ b/src/main/kotlin/moe/nea/ledger/modules/GambleDetection.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 @@ -33,7 +34,7 @@ class GambleDetection { listOf( ItemChange.lose(item, 1), ItemChange.loseCoins(rollCost), - ItemChange.gain(ItemId.ARCHFIEND_DYE, 1), + ItemChange.gain(ItemIds.DYE_ARCHFIEND, 1), ) )) } else if (face == "6") { -- cgit