From 7fea4a66a0a14f8dd5c136c6d4cc9a553873b5e9 Mon Sep 17 00:00:00 2001 From: grimmauld Date: Sat, 5 Sep 2020 21:30:36 +0200 Subject: [PATCH] fixed client to-desktop crash with ":" in schematic name --- .../java/com/simibubi/create/foundation/utility/FilesHelper.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/simibubi/create/foundation/utility/FilesHelper.java b/src/main/java/com/simibubi/create/foundation/utility/FilesHelper.java index 8f806562d..67bc3f1fa 100644 --- a/src/main/java/com/simibubi/create/foundation/utility/FilesHelper.java +++ b/src/main/java/com/simibubi/create/foundation/utility/FilesHelper.java @@ -51,6 +51,7 @@ public class FilesHelper { return Lang.asId(name) .replace(' ', '_') .replace('!', '_') + .replace(':', '_') .replace('?', '_'); }