Fixed IndexOutOfBoundsException (sortof?)
This commit is contained in:
parent
86caf7c550
commit
a482af738d
1 changed files with 1 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ public class ZoomedTileRenderer {
|
||||||
try {
|
try {
|
||||||
image = ImageIO.read(originalTile.file);
|
image = ImageIO.read(originalTile.file);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
} catch (IndexOutOfBoundsException e) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (image == null) {
|
if (image == null) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue