From 84b9dce6be5293aa27870b11b01fca9a606aac61 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Thu, 29 Jul 2021 21:11:23 +0200 Subject: [PATCH] Move debug notes to logger factory --- .../core/extent/clipboard/DiskOptimizedClipboard.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/DiskOptimizedClipboard.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/DiskOptimizedClipboard.java index ca39fb1f5..a4f76065f 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/DiskOptimizedClipboard.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/DiskOptimizedClipboard.java @@ -209,8 +209,8 @@ public class DiskOptimizedClipboard extends LinearClipboard implements Closeable try { byteBuffer.put(HEADER_SIZE + (getVolume() << 1) + index, (byte) biome.getInternalId()); } catch (IndexOutOfBoundsException e) { - System.out.println((long) (getHeight() >> 2) * (getLength() >> 2) * (getWidth() >> 2)); - System.out.println(index); + LOGGER.info((long) (getHeight() >> 2) * (getLength() >> 2) * (getWidth() >> 2)); + LOGGER.info(index); e.printStackTrace(); } }