mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-09-28 23:27:33 +02:00
Clear chunks from cache when starting a render-task for them
This commit is contained in:
parent
8bac85ce22
commit
92e5300c1e
@ -91,6 +91,9 @@ private synchronized void init() {
|
|||||||
tileSet.add(new Vector2l(x, z));
|
tileSet.add(new Vector2l(x, z));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// make sure chunk gets re-loaded from disk
|
||||||
|
map.getWorld().invalidateChunkCache(chunk.getX(), chunk.getY());
|
||||||
}
|
}
|
||||||
|
|
||||||
Predicate<Vector2i> boundsTileFilter = t -> {
|
Predicate<Vector2i> boundsTileFilter = t -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user