fix: recursion on Quaedam#<cinit>

This commit is contained in:
xtex 2023-07-26 21:27:24 +08:00
parent 294a5291b1
commit e60de5a03a
Signed by: xtex
GPG Key ID: B918086ED8045B91

View File

@ -34,7 +34,7 @@ object Quaedam {
val memoryTypes = DeferredRegister.create(ID, Registries.MEMORY_MODULE_TYPE)!! val memoryTypes = DeferredRegister.create(ID, Registries.MEMORY_MODULE_TYPE)!!
val sensors = DeferredRegister.create(ID, Registries.SENSOR_TYPE)!! val sensors = DeferredRegister.create(ID, Registries.SENSOR_TYPE)!!
val soundEvents = DeferredRegister.create(ID, Registries.SOUND_EVENT)!! val soundEvents = DeferredRegister.create(ID, Registries.SOUND_EVENT)!!
val projectionEffects = DeferredRegister.create(ID, ProjectionEffectType.registryKey)!! val projectionEffects by lazy { DeferredRegister.create(ID, ProjectionEffectType.registryKey)!! }
val creativeModeTab: RegistrySupplier<CreativeModeTab> = creativeModeTabs.register("quaedam") { val creativeModeTab: RegistrySupplier<CreativeModeTab> = creativeModeTabs.register("quaedam") {
CreativeTabRegistry.create(Component.translatable("category.quaedam")) { CreativeTabRegistry.create(Component.translatable("category.quaedam")) {