From a113e99a8ecd6a2cdce12a2a133c951aca4e31b7 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Fri, 5 Jan 2024 22:20:01 +0700 Subject: [PATCH] lol dum --- .../kotlin/ru/dbotthepony/mc/otm/registry/MDeferredRegister.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/registry/MDeferredRegister.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/registry/MDeferredRegister.kt index 3cc38196e..5eaa476b9 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/registry/MDeferredRegister.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/registry/MDeferredRegister.kt @@ -22,7 +22,7 @@ import kotlin.reflect.KProperty /** * DeferredRegister which allows parallel initialization */ -class MDeferredRegister(val registry: ResourceKey>, val modId: String = OverdriveThatMatters.MOD_ID) { +class MDeferredRegister(val registry: ResourceKey>, val modId: String = OverdriveThatMatters.MOD_ID) { constructor(registry: IForgeRegistry, modId: String = OverdriveThatMatters.MOD_ID) : this(registry.registryKey, modId) private val entries = Object2ObjectLinkedOpenHashMap>()