diff options
author | Linnea Gräf <nea@nea.moe> | 2024-02-15 18:41:10 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-02-15 18:41:10 +0100 |
commit | 3e19b97b52fae7422f8b0654da9341bf8c2393cb (patch) | |
tree | dc4bf85f326342a154e78aff3d5b8fdd2c14024e /src/main/kotlin/moe/nea/ledger/Ledger.kt | |
parent | e5d2966e05fcaca533c09ab5ec5bfd825848be02 (diff) | |
download | LocalTransactionLedger-3e19b97b52fae7422f8b0654da9341bf8c2393cb.tar.gz LocalTransactionLedger-3e19b97b52fae7422f8b0654da9341bf8c2393cb.tar.bz2 LocalTransactionLedger-3e19b97b52fae7422f8b0654da9341bf8c2393cb.zip |
Added item ids
Diffstat (limited to 'src/main/kotlin/moe/nea/ledger/Ledger.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/ledger/Ledger.kt | 4 |
1 files changed, 3 insertions, 1 deletions
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) } |