diff --git a/src/main/java/ru/dbotthepony/mc/otm/OverdriveThatMatters.java b/src/main/java/ru/dbotthepony/mc/otm/OverdriveThatMatters.java index ff5850eba..f304cac05 100644 --- a/src/main/java/ru/dbotthepony/mc/otm/OverdriveThatMatters.java +++ b/src/main/java/ru/dbotthepony/mc/otm/OverdriveThatMatters.java @@ -110,8 +110,6 @@ public final class OverdriveThatMatters { INSTANCE = this; - bus.addListener(MRegistry.INSTANCE::register); - MBlocks.INSTANCE.register(bus); MFluids.INSTANCE.register(bus); MBlockEntities.INSTANCE.register(bus); diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/registry/MRegistry.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/registry/MRegistry.kt index 143136b14..947998584 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/registry/MRegistry.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/registry/MRegistry.kt @@ -102,10 +102,6 @@ object MRegistry : IBlockItemRegistryAcceptor { DyeColor.YELLOW, ) - fun register(event: NewRegistryEvent) { - features.build(event) - } - private val decorativeBlocks = ArrayList() override fun registerItems(registry: MDeferredRegister) { @@ -284,7 +280,7 @@ object MRegistry : IBlockItemRegistryAcceptor { } fun initialize(bus: IEventBus) { - bus.addListener(this::register) + bus.addListener(features::build) bus.addListener(this::initializeClient) bus.addListener(this::initializeCommon) bus.addListener(MStats::registerVanilla)