From 3e19b97b52fae7422f8b0654da9341bf8c2393cb Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Thu, 15 Feb 2024 18:41:10 +0100 Subject: Added item ids --- src/main/kotlin/moe/nea/ledger/Ledger.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/main/kotlin/moe/nea/ledger/Ledger.kt') diff --git a/src/main/kotlin/moe/nea/ledger/Ledger.kt b/src/main/kotlin/moe/nea/ledger/Ledger.kt index 773f90e..7f2f306 100644 --- a/src/main/kotlin/moe/nea/ledger/Ledger.kt +++ b/src/main/kotlin/moe/nea/ledger/Ledger.kt @@ -37,10 +37,12 @@ class Ledger { @Mod.EventHandler fun init(event: FMLInitializationEvent) { val ledger = LedgerLogger() + val ids = ItemIdProvider() listOf( this, + ids, BankDetection(ledger), - BazaarDetection(ledger) + BazaarDetection(ledger, ids) ).forEach(MinecraftForge.EVENT_BUS::register) } -- cgit