From 884125a62e01d60853baa4286958b4f6a528bdc9 Mon Sep 17 00:00:00 2001 From: Chaoscaot Date: Thu, 30 Dec 2021 22:11:31 +0100 Subject: [PATCH] Hotfix ( ) in Schem name Signed-off-by: Chaoscaot --- .../schematicsystem/commands/SchematicCommandUtils.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommandUtils.java b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommandUtils.java index 92d099f..8b4e551 100644 --- a/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommandUtils.java +++ b/SchematicSystem_Core/src/de/steamwar/schematicsystem/commands/SchematicCommandUtils.java @@ -60,7 +60,8 @@ public class SchematicCommandUtils { layer.contains("^") || layer.contains("°") || layer.contains("'") || - layer.contains("\"")) { + layer.contains("\"") || + layer.contains(" ")) { player.sendMessage(SchematicSystem.PREFIX + "§cDer angegebene Schematicname enthält verbotene Zeichen"); return true; }