diff options
author | isXander <xandersmith2008@gmail.com> | 2023-09-28 16:23:04 +0100 |
---|---|---|
committer | isXander <xandersmith2008@gmail.com> | 2023-09-28 16:23:04 +0100 |
commit | 5cd6856855ca50165277d6ba6b3049ef246fd568 (patch) | |
tree | 70aa684be8d8af7d9e9ec0703000f37cbd763d22 | |
parent | e34aa9d2a9e38a2773c61158beaed70bbf90a013 (diff) | |
download | YetAnotherConfigLib-5cd6856855ca50165277d6ba6b3049ef246fd568.tar.gz YetAnotherConfigLib-5cd6856855ca50165277d6ba6b3049ef246fd568.tar.bz2 YetAnotherConfigLib-5cd6856855ca50165277d6ba6b3049ef246fd568.zip |
Remove debug log from generating WEBP and GIF
-rw-r--r-- | common/src/main/java/dev/isxander/yacl3/gui/image/impl/AnimatedDynamicTextureImage.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/common/src/main/java/dev/isxander/yacl3/gui/image/impl/AnimatedDynamicTextureImage.java b/common/src/main/java/dev/isxander/yacl3/gui/image/impl/AnimatedDynamicTextureImage.java index edf92a5..7a58461 100644 --- a/common/src/main/java/dev/isxander/yacl3/gui/image/impl/AnimatedDynamicTextureImage.java +++ b/common/src/main/java/dev/isxander/yacl3/gui/image/impl/AnimatedDynamicTextureImage.java @@ -172,8 +172,6 @@ public class AnimatedDynamicTextureImage extends DynamicTextureImage { } private static ImageRendererFactory.ImageSupplier<AnimatedDynamicTextureImage> createFromImageReader(ImageReader reader, AnimFrameProvider animationProvider, ResourceLocation uniqueLocation) throws Exception { - YACLConstants.LOGGER.info("Thread 1: {}", Thread.currentThread().getName()); - if (reader.isSeekForwardOnly()) { throw new RuntimeException("Image reader is not seekable"); } @@ -266,10 +264,7 @@ public class AnimatedDynamicTextureImage extends DynamicTextureImage { graphics.dispose(); reader.dispose(); - return () -> { - YACLConstants.LOGGER.info("Thread 2: {}", Thread.currentThread().getName()); - return new AnimatedDynamicTextureImage(image, frameWidth, frameHeight, frameCount, frameDelays, cols, rows, uniqueLocation); - }; + return () -> new AnimatedDynamicTextureImage(image, frameWidth, frameHeight, frameCount, frameDelays, cols, rows, uniqueLocation); } @FunctionalInterface |