From be2935213745fcae17cb5434baf82af078c95a53 Mon Sep 17 00:00:00 2001 From: Madeleaan Date: Sat, 7 Jun 2025 17:54:26 +0200 Subject: [PATCH] Trim the second part of system info since vendors like to put a lot of spaces there --- .../resourcefullib/client/sysinfo/SystemInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/com/teamresourceful/resourcefullib/client/sysinfo/SystemInfo.java b/common/src/main/java/com/teamresourceful/resourcefullib/client/sysinfo/SystemInfo.java index 13a6a7b..039269f 100644 --- a/common/src/main/java/com/teamresourceful/resourcefullib/client/sysinfo/SystemInfo.java +++ b/common/src/main/java/com/teamresourceful/resourcefullib/client/sysinfo/SystemInfo.java @@ -37,7 +37,7 @@ public static String buildForDiscord() { builder.append("# ").append(infoBuilder.category()).append("\n"); for (var info : infoBuilder.info()) { builder.append("[").append(info.getFirst()).append("]") - .append("[").append(info.getSecond()).append("]") + .append("[").append(info.getSecond().trim()).append("]") .append("\n"); } builder.append("\n");