Fixed ImageDownloadAlt console spam.

This commit is contained in:
Luis C.M committed 2022-06-08 13:46:41 -05:00
1 parent 50471dbfac
commit f3177f6fd9
1 file changed
+3
@@ -4,6 +4,7 @@ import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
import java.util.concurrent.atomic.AtomicInteger;
@@ -160,6 +161,8 @@ public class ImageDownloadAlt extends SimpleTexture
ImageDownloadAlt.this.setBufferedImage(bufferedimage);
}
catch (MalformedURLException ignored) {
}
catch (Exception exception)
{
ImageDownloadAlt.logger.error("Couldn\'t download http texture", exception);