From a2f73de90fb9c9d0ea7a5e7e9e6b9e445a8094ee Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Sun, 15 Dec 2024 19:31:46 +0100 Subject: refactor: Move DI to its own package --- src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt') diff --git a/src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt b/src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt index f2906b8..121586e 100644 --- a/src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt +++ b/src/main/kotlin/moe/nea/ledger/ItemIdProvider.kt @@ -28,7 +28,7 @@ class ItemIdProvider { private val knownNames = mutableMapOf() @SubscribeEvent - fun onTick(event: RegistrationFinishedEvent) { + fun onRegistrationFinished(event: RegistrationFinishedEvent) { MinecraftForge.EVENT_BUS.post(ExtraSupplyIdEvent(knownNames::put)) } -- cgit