mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
- Revert the last couple commits, looks like there is no unwanted console spamming if everything is set up properly.
This commit is contained in:
@@ -95,10 +95,6 @@ public class ImageKeys {
|
||||
}
|
||||
|
||||
public static File getImageFile(String key) {
|
||||
return getImageFile(key, false);
|
||||
}
|
||||
|
||||
public static File getImageFile(String key, boolean quiet) {
|
||||
if (StringUtils.isEmpty(key)) {
|
||||
return null;
|
||||
}
|
||||
@@ -161,9 +157,7 @@ public class ImageKeys {
|
||||
}
|
||||
}
|
||||
|
||||
if (!quiet) {
|
||||
System.out.println("File not found, no image created: " + key);
|
||||
}
|
||||
System.out.println("File not found, no image created: " + key);
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -85,7 +85,7 @@ public final class FImageUtil {
|
||||
imageKey += "full.jpg";
|
||||
}
|
||||
|
||||
File file = ImageKeys.getImageFile(imageKey, true);
|
||||
File file = ImageKeys.getImageFile(imageKey);
|
||||
BufferedImage img = null;
|
||||
|
||||
if (file != null) {
|
||||
|
||||
Reference in New Issue
Block a user