From ef2602895b17e2dac0685262682502de2eed9b69 Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Tue, 18 Mar 2025 18:41:09 +0700 Subject: [PATCH] Declare VanillaMenuTypes#register as internal --- .../ru/dbotthepony/mc/otm/compat/vanilla/VanillaMenuTypes.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/compat/vanilla/VanillaMenuTypes.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/compat/vanilla/VanillaMenuTypes.kt index 8e7c52865..d4b068d73 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/compat/vanilla/VanillaMenuTypes.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/compat/vanilla/VanillaMenuTypes.kt @@ -22,7 +22,7 @@ object VanillaMenuTypes { val SHULKER_BOX by registrar.register("shulker_box") { MenuType(::MatteryShulkerBoxMenu, FeatureFlags.VANILLA_SET) } - fun register(bus: IEventBus) { + internal fun register(bus: IEventBus) { registrar.register(bus) bus.addListener(this::registerScreens) }