From 52a154a6c448d19c0b9db2b7e515dad87c346997 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Wed, 1 Jun 2022 22:19:57 +0200 Subject: [PATCH] Hotfix: Message --- SchematicSystem_Core/src/SchematicSystem.properties | 2 +- .../schematicsystem/commands/SchematicCommandUtils.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/SchematicSystem_Core/src/SchematicSystem.properties b/SchematicSystem_Core/src/SchematicSystem.properties index f7772fd..a1b4d21 100644 --- a/SchematicSystem_Core/src/SchematicSystem.properties +++ b/SchematicSystem_Core/src/SchematicSystem.properties @@ -54,7 +54,7 @@ UTIL_INFO_ACTION_MOVE=[Move] UTIL_INFO_ACTION_MOVE_HOVER=§eMove schematic UTIL_INFO_ACTION_RENAME=[Rename] UTIL_INFO_ACTION_RENAME_HOVER=§eRename schematic -UTIL_INFO_ACTION_DELETE=[Delete] +UTIL_INFO_ACTION_DELETE=[Delete] UTIL_INFO_ACTION_DELETE_HOVER=§eDelete schematic UTIL_LOAD_NOT_HERE=§cYou cannot load schematics here UTIL_LOAD_NOT_HERE_ALL=§cSchematics cannot be loaded on this build diff --git a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommandUtils.java b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommandUtils.java index cecee5f..c347964 100644 --- a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommandUtils.java +++ b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommandUtils.java @@ -104,14 +104,14 @@ public class SchematicCommandUtils { StringBuilder nodeString = new StringBuilder(); if (node.isDir()) { - nodeString.append(SchematicSystem.MESSAGE.parse("UTIL_LIST_DIR", player)); + nodeString.append(SchematicSystem.MESSAGE.parse("UTIL_LIST_DIR", player)).append(" "); } else { SchematicType type = node.getSchemtype(); if (type != SchematicType.Normal) { - nodeString.append(SchematicSystem.MESSAGE.parse("UTIL_LIST_TYPE", player, type.name())); + nodeString.append(SchematicSystem.MESSAGE.parse("UTIL_LIST_TYPE", player, type.name())).append(" "); } } - nodeString.append(SchematicSystem.MESSAGE.parse("UTIL_LIST_BASE", player)); + nodeString.append(SchematicSystem.MESSAGE.parse("UTIL_LIST_BASE", player)).append(" "); nodeString.append(behavior.getRenderHook().apply(node.getName()));