aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/ledger/Ledger.kt
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-02-15 18:41:10 +0100
committerLinnea Gräf <nea@nea.moe>2024-02-15 18:41:10 +0100
commit3e19b97b52fae7422f8b0654da9341bf8c2393cb (patch)
treedc4bf85f326342a154e78aff3d5b8fdd2c14024e /src/main/kotlin/moe/nea/ledger/Ledger.kt
parente5d2966e05fcaca533c09ab5ec5bfd825848be02 (diff)
downloadLocalTransactionLedger-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.kt4
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)
}