From 08061a69c5ada6d577450eceaff404d42b5c760b Mon Sep 17 00:00:00 2001 From: DBotThePony Date: Sat, 16 Nov 2024 11:18:35 +0700 Subject: [PATCH] Fix tooltips of device controls panel --- .../mc/otm/client/screen/panels/button/Buttons.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/button/Buttons.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/button/Buttons.kt index c80dfcadb..2a5b9bec4 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/button/Buttons.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/panels/button/Buttons.kt @@ -588,7 +588,7 @@ class DeviceControls>( } } ).also { - tooltips.add(TranslatableComponent("otm.gui.sides.item_config")) + it.tooltips.add(TranslatableComponent("otm.gui.sides.item_config")) }) } else { itemConfigButton = null @@ -608,7 +608,7 @@ class DeviceControls>( } } ).also { - tooltips.add(TranslatableComponent("otm.gui.sides.energy_config")) + it.tooltips.add(TranslatableComponent("otm.gui.sides.energy_config")) }) } else { energyConfigButton = null @@ -628,7 +628,7 @@ class DeviceControls>( } } ).also { - tooltips.add(TranslatableComponent("otm.gui.sides.fluid_config")) + it.tooltips.add(TranslatableComponent("otm.gui.sides.fluid_config")) }) } else { fluidConfigButton = null