Merge branch '1.20.1' of https://git.dbotthepony.ru/DBot/overdrive_that_matters into 1.19.4
This commit is contained in:
commit
ee624f1b3f
@ -22,7 +22,7 @@ import kotlin.reflect.KProperty
|
||||
/**
|
||||
* 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)
|
||||
|
||||
private val entries = Object2ObjectLinkedOpenHashMap<String, Entry<R>>()
|
||||
|
Loading…
Reference in New Issue
Block a user