mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-27 20:58:40 +01:00
Fixed rendering zoomedout tiles.
This commit is contained in:
parent
b2f6ae5132
commit
d566fccb1e
@ -29,7 +29,6 @@ public class ZoomedTileRenderer {
|
|||||||
try {
|
try {
|
||||||
image = ImageIO.read(new File(new File(outputPath), originalTile.getName() + ".png"));
|
image = ImageIO.read(new File(new File(outputPath), originalTile.getName() + ".png"));
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (image == null) {
|
if (image == null) {
|
||||||
@ -42,7 +41,6 @@ public class ZoomedTileRenderer {
|
|||||||
try {
|
try {
|
||||||
zIm = ImageIO.read(zoomFile);
|
zIm = ImageIO.read(zoomFile);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (zIm == null) {
|
if (zIm == null) {
|
||||||
|
Loading…
Reference in New Issue
Block a user