Skip to content

Commit 0436606

Browse files
committed
Fix bug that caused the lowres to be saved to disk constantly
1 parent 7fe60fa commit 0436606

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

BlueMapCommon/src/main/java/de/bluecolored/bluemap/common/RenderManager.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,10 @@ private void renderThread() {
127127
RenderTask task = renderTasks.peek();
128128
if (task != null) {
129129
ticket = task.poll();
130-
if (task.isFinished()) renderTasks.poll();
131-
task.getMapType().getTileRenderer().save();
130+
if (task.isFinished()) {
131+
renderTasks.poll();
132+
task.getMapType().getTileRenderer().save();
133+
}
132134
}
133135
}
134136
}

0 commit comments

Comments
 (0)