From 526c33358ca305bc149d7e3d11208bd9649790df Mon Sep 17 00:00:00 2001 From: Pierre Maurice Schwang Date: Fri, 21 Jun 2024 00:46:07 +0200 Subject: [PATCH] chore: remove logger warn for now --- .../core/extent/clipboard/io/FastSchematicReaderV3.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/io/FastSchematicReaderV3.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/io/FastSchematicReaderV3.java index 2bbdeffef..2f91eb12c 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/io/FastSchematicReaderV3.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/io/FastSchematicReaderV3.java @@ -86,7 +86,8 @@ public class FastSchematicReaderV3 implements ClipboardReader { if (stream instanceof FileInputStream fileInputStream) { stream = new ResettableFileInputStream(fileInputStream); } else if (!stream.markSupported()) { - LOGGER.warn("InputStream does not support mark - will be wrapped using in memory buffer"); + // TODO: How to handle remote schematics using URL streams? (-> SchematicCommands.java L350-352) + // LOGGER.warn("InputStream does not support mark - will be wrapped using in memory buffer"); stream = new BufferedInputStream(stream); } this.resetableInputStream = stream;