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 a907108ea..db94f54a1 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 @@ -341,7 +341,7 @@ class DeviceControls>( private val buttons = ArrayList>() - fun alignButtons() { + private fun alignButtons() { buttons.removeIf { it.isRemoved || it.parent != this } var y = 0f