Move debug notes to logger factory

This commit is contained in:
NotMyFault 2021-07-29 21:11:23 +02:00
parent 17019ac723
commit 84b9dce6be
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

View File

@ -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();
}
}