Merge branch '1.20.2' of https://git.dbotthepony.ru/DBot/overdrive_that_matters into 1.20.1
This commit is contained in:
commit
1d0e24095a
@ -22,7 +22,7 @@ import kotlin.reflect.KProperty
|
|||||||
/**
|
/**
|
||||||
* DeferredRegister which allows parallel initialization
|
* DeferredRegister which allows parallel initialization
|
||||||
*/
|
*/
|
||||||
class MDeferredRegister<R : Any>(val registry: ResourceKey<Registry<R>>, val modId: String = OverdriveThatMatters.MOD_ID) {
|
class MDeferredRegister<R : Any>(val registry: ResourceKey<out Registry<R>>, val modId: String = OverdriveThatMatters.MOD_ID) {
|
||||||
constructor(registry: IForgeRegistry<R>, modId: String = OverdriveThatMatters.MOD_ID) : this(registry.registryKey, modId)
|
constructor(registry: IForgeRegistry<R>, modId: String = OverdriveThatMatters.MOD_ID) : this(registry.registryKey, modId)
|
||||||
|
|
||||||
private val entries = Object2ObjectLinkedOpenHashMap<String, Entry<R>>()
|
private val entries = Object2ObjectLinkedOpenHashMap<String, Entry<R>>()
|
||||||
|
Loading…
Reference in New Issue
Block a user