mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-13 09:18:05 -04:00
limiting length of power display of analyzer
This commit is contained in:
parent
b1ac3e8be3
commit
b4668873c2
@ -41,7 +41,7 @@ class Analyzer(val parent: Delegator) extends Delegate {
|
||||
private def analyzeNode(environment: Environment, player: EntityPlayer) {
|
||||
environment.node match {
|
||||
case connector: Connector =>
|
||||
player.addChatMessage("Buffer: %f/%f".format(connector.buffer, connector.bufferSize))
|
||||
player.addChatMessage("Power: %.2f/%.2f".format(connector.buffer, connector.bufferSize))
|
||||
case _ =>
|
||||
}
|
||||
val address = environment.node.address()
|
||||
|
Loading…
x
Reference in New Issue
Block a user