mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-24 19:25:15 +01:00
Fix map edge detection to only use lack-of-chunks: fix skylands
premature end-of-render issue
This commit is contained in:
parent
8957ab7c31
commit
4622b42aed
@ -310,7 +310,9 @@ public class MapManager {
|
|||||||
tile.render(cache);
|
tile.render(cache);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if ((cache.isEmpty() == false) && tile.render(cache)) {
|
/* Switch to not checking if rendered tile is blank - breaks us on skylands, where tiles can be nominally blank - just work off chunk cache empty */
|
||||||
|
if (cache.isEmpty() == false) {
|
||||||
|
tile.render(cache);
|
||||||
found.remove(tile);
|
found.remove(tile);
|
||||||
rendered.add(tile);
|
rendered.add(tile);
|
||||||
for (MapTile adjTile : map.getAdjecentTiles(tile)) {
|
for (MapTile adjTile : map.getAdjecentTiles(tile)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user