Skip to content

Commit

Permalink
fix #3726
Browse files Browse the repository at this point in the history
  • Loading branch information
asiekierka committed Jan 5, 2025
1 parent cba8912 commit 1fa4615
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/assets/opencomputers/lang/zh_CN.lang
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ oc:tooltip.microcontrollercase=构建微控制器所需的基础部件。将其
oc:tooltip.motionsensor=可以检测附近生物的运动。生物需要在传感器视线范围内。
oc:tooltip.nanomachines=是控制单元,也是一批可摄入的纳米机器,只要你敢。
oc:tooltip.networkcard=让相隔很远但通过其他方块(比如线缆)相连的电脑能够通过发送报文进行交互。
oc:tooltip.PowerAcceptor=能量转换速度: §f%s/t§7
oc:tooltip.poweracceptor=能量转换速度: §f%s/t§7
oc:tooltip.powerconverter.BuildCraft=§fBuildcraft MJ§7: §a%s:%s§7
oc:tooltip.powerconverter.Factorization=§fFactorization Charge§7: §a%s:%s§7
oc:tooltip.powerconverter.IndustrialCraft2=§fIndustrialCraft² EU§7: §a%s:%s§7
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ trait PowerAcceptor extends SimpleBlock {

override protected def tooltipTail(metadata: Int, stack: ItemStack, world: World, tooltip: util.List[String], advanced: ITooltipFlag) {
super.tooltipTail(metadata, stack, world, tooltip, advanced)
tooltip.addAll(Tooltip.extended("PowerAcceptor", energyThroughput.toInt))
tooltip.addAll(Tooltip.extended("poweracceptor", energyThroughput.toInt))
}
}

0 comments on commit 1fa4615

Please sign in to comment.