From 1b4534ec836a24459389bbc547e9c2c65df5e3db Mon Sep 17 00:00:00 2001 From: Calclavia Date: Tue, 30 Sep 2014 11:07:42 +0800 Subject: [PATCH] Fixed sequence error --- .../electrical/multimeter/RenderMultimeter.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/scala/resonantinduction/electrical/multimeter/RenderMultimeter.scala b/src/main/scala/resonantinduction/electrical/multimeter/RenderMultimeter.scala index 38aff1f45..1b9495a02 100644 --- a/src/main/scala/resonantinduction/electrical/multimeter/RenderMultimeter.scala +++ b/src/main/scala/resonantinduction/electrical/multimeter/RenderMultimeter.scala @@ -146,11 +146,11 @@ object RenderMultimeter extends ISimpleItemRenderer { if (part.getNetwork.graphs(i).get != null && !(part.getNetwork.graphs(i).get == part.getNetwork.graphs(i).getDefault)) { - information += part.getNetwork.getDisplay(i) + information :+= part.getNetwork.getDisplay(i) } } - if (information.size <= 0) information += LanguageUtility.getLocal("tooltip.noInformation") + if (information.size <= 0) information :+= LanguageUtility.getLocal("tooltip.noInformation") val displacement = 0.72f / information.size val maxScale = (part.getNetwork.size.x + part.getNetwork.size.z).asInstanceOf[Float] * 0.004f