mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-12-29 12:07:41 +01:00
Merge pull request #341 from mikeprimm/master
Fix skylands premature-end-of-render issue
This commit is contained in:
commit
ee0ad7c3d5
@ -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