diff --git a/common/src/main/kotlin/quaedam/projection/ProjectionEffect.kt b/common/src/main/kotlin/quaedam/projection/ProjectionEffect.kt index cd03ae9..a6e5bb0 100644 --- a/common/src/main/kotlin/quaedam/projection/ProjectionEffect.kt +++ b/common/src/main/kotlin/quaedam/projection/ProjectionEffect.kt @@ -39,7 +39,7 @@ data class ProjectionEffectType(val constructor: () -> T) val registryKey: ResourceKey>> = ResourceKey.createRegistryKey(Quaedam.resource("projection_effect")) - val registry: Registry> = BuiltInRegistries.registerSimple(registryKey) { null } + val registry: Registry> = BuiltInRegistries.registerSimple(registryKey) { nopEffect } val nopEffect: ProjectionEffectType = Registry.register(registry, Quaedam.resource("nop"), ProjectionEffectType { NopEffect })