diff --git a/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/lang/Russian.kt b/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/lang/Russian.kt index ac29a0196..579fac976 100644 --- a/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/lang/Russian.kt +++ b/src/data/kotlin/ru/dbotthepony/mc/otm/datagen/lang/Russian.kt @@ -199,7 +199,7 @@ private fun misc(provider: MatteryLanguageProvider) { gui("exopack_upgrades.smelting_upgrade", "Активация данного улучшения даст плавильню в вашем Экзопаке.") gui("exopack_upgrades.ender_access_upgrade", "Активация данного улучшения даст доступ к сундуку края в вашем Экзопаке.") - gui("crude_battery.replace_in_world", "Простота устройства данного аккумулятора позволяет вам заменить .") + gui("crude_battery.replace_in_world", "Простота устройства данного аккумулятора позволяет вам заменить ваш внутренний источник питания без станции андроида.") gui("crude_battery.replace_in_world_warning", "Данная операция крайне рискованная и может нанести огромный урон вашим системам!") gui("power_supplier.active_nodes", "Узлы сети, требующие питания: %s") diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/tech/BatteryBankBlockEntity.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/tech/BatteryBankBlockEntity.kt index fa1f08a61..f92896414 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/tech/BatteryBankBlockEntity.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/block/entity/tech/BatteryBankBlockEntity.kt @@ -178,7 +178,8 @@ class BatteryBankBlockEntity(p_155229_: BlockPos, p_155230_: BlockState) : Matte leftDefault = FlowDirection.INPUT, rightDefault = FlowDirection.INPUT, topDefault = FlowDirection.INPUT, - bottomDefault = FlowDirection.INPUT + bottomDefault = FlowDirection.INPUT, + volatileEnergyValues = true ) init { diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/matter/MatterPanelScreen.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/matter/MatterPanelScreen.kt index e20b0b524..d266764bd 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/matter/MatterPanelScreen.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/matter/MatterPanelScreen.kt @@ -109,7 +109,7 @@ class MatterPanelScreen( placeholder = TranslatableComponent("otm.gui.quicksearch") } - override fun onTextChanged(old: String, new: String) { + override fun onTextChanged(new: String, old: String) { if (new == "") { menu.filter = Predicate { true } } else { diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/tech/EssenceStorageScreen.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/tech/EssenceStorageScreen.kt index 011dc31de..970f19148 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/tech/EssenceStorageScreen.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/client/screen/tech/EssenceStorageScreen.kt @@ -223,7 +223,7 @@ class EssenceStorageScreen(menu: EssenceStorageMenu, inventory: Inventory, title playGuiClickSound() } - override fun onTextChanged(old: String, new: String) { + override fun onTextChanged(new: String, old: String) { customDispense = (new.toIntOrNull() ?: 30).coerceAtLeast(1) } }