From 7ab0704002b60e3345bad1887d87adb0cd2b18da Mon Sep 17 00:00:00 2001 From: Intelli Date: Thu, 15 Aug 2024 20:48:42 -0600 Subject: [PATCH] Improved how CPU information is displayed under /co status --- src/main/java/net/coreprotect/command/StatusCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/coreprotect/command/StatusCommand.java b/src/main/java/net/coreprotect/command/StatusCommand.java index c60031a..4c20e84 100755 --- a/src/main/java/net/coreprotect/command/StatusCommand.java +++ b/src/main/java/net/coreprotect/command/StatusCommand.java @@ -116,7 +116,7 @@ public class StatusCommand { String cpuSpeed = String.valueOf(ConfigHandler.processorInfo.getMaxFreq()); cpuSpeed = String.format("%.2f", Long.valueOf(cpuSpeed) / 1000000000.0); - cpuInfo = modelName + " " + Runtime.getRuntime().availableProcessors() + " x " + cpuSpeed + "GHz."; + cpuInfo = "x" + Runtime.getRuntime().availableProcessors() + " " + cpuSpeed + "GHz " + modelName + "."; } else { cpuInfo = "x" + Runtime.getRuntime().availableProcessors() + " " + Phrase.build(Phrase.CPU_CORES);