fix: 跳过 BangDream 活动可选破损资源

This commit is contained in:
sunlei 2026-06-06 19:25:21 +08:00
parent cd9f8b971b
commit 9ad018d588

View File

@ -381,6 +381,7 @@ export class Event {
try {
const stampBuffer = await bangDreamBestdoriProvider.getAsset(
`/assets/${serverName}/stamp/01_rip/${stampAssetName}.png`,
{ ignoreError: false },
);
return await loadImage(stampBuffer);
} catch {
@ -426,6 +427,7 @@ export class Event {
try {
const decoBuffer = await bangDreamBestdoriProvider.getAsset(
`/assets/${serverName}/deco/pins_rip/${decoAssetName}.png`,
{ ignoreError: false },
);
return await loadImage(decoBuffer);
} catch {