Kotlin for Forge

Kotlin for Forge

124M Downloads

KFF registers @EventBusSubscriber multiple times if multiple @Mod annotation in mod exists

lhwdev opened this issue ยท 0 comments

commented

There can be multiple @Mod annotated class in one mod, for example Create mod has two(Create, CreateClient) @Mod class.
If KFF is to support same semantics as JavaModLoader, it should support this case. However, kfflang-neoforge seems to run AutoKotlinEventBusSubscriber.inject as many times as @Mod class exists in one mod.

See the code differences between kfflang and JavaModLoader.