From 1b18fe5a28788705e1fe0c9a91b3578f4e3a3b6f Mon Sep 17 00:00:00 2001 From: yoyosource Date: Sun, 16 Jan 2022 20:52:29 +0100 Subject: [PATCH] Hotfix SchematicCommand --- .../de/steamwar/schematicsystem/commands/SchematicCommand.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommand.java b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommand.java index b50034f..8e3202b 100644 --- a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommand.java +++ b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommand.java @@ -317,6 +317,9 @@ public class SchematicCommand extends SWCommand { nodes.forEach(node -> { String br = node.generateBreadcrumbs(user); String displayName = br; + if (!nameList.isEmpty()) { + displayName = "§8" + br; + } for (String s : nameList) { displayName = displayName.replace(s, "§e§l" + s + "§8"); }