fix(minimap): improve error handling and performance in tile parsing

- Add warning logging in renderChunkToPixels catch block before fallback
- Switch maxTick filtering from skip/continue to early break (append-only optimization)
- Use existsSync for directory existence check in loadExistingTagContent
This commit is contained in:
Danielv123 committed 2026-02-21 17:02:50 +01:00
1 parent 9375c462af
commit 550ea22724
2 files changed
+8 -13

No files matched your search

+2 -1
View File
@@ -819,7 +819,8 @@ export class ControllerPlugin extends BaseControllerPlugin {
async loadExistingTagContent() {
try {
if (!await fs.pathExists(this.chartTagsPath)) {
// Use existsSync for synchronous directory existence check
if (!fs.existsSync(this.chartTagsPath)) {
return;
}