mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 17:47:32 +00:00
Fixed ImageDownloadAlt console spam.
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user