aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/ledger/Ledger.kt
diff options
context:
space:
mode:
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)
}