fix: 跳过 BangDream 活动可选破损资源
This commit is contained in:
parent
cd9f8b971b
commit
9ad018d588
@ -381,6 +381,7 @@ export class Event {
|
|||||||
try {
|
try {
|
||||||
const stampBuffer = await bangDreamBestdoriProvider.getAsset(
|
const stampBuffer = await bangDreamBestdoriProvider.getAsset(
|
||||||
`/assets/${serverName}/stamp/01_rip/${stampAssetName}.png`,
|
`/assets/${serverName}/stamp/01_rip/${stampAssetName}.png`,
|
||||||
|
{ ignoreError: false },
|
||||||
);
|
);
|
||||||
return await loadImage(stampBuffer);
|
return await loadImage(stampBuffer);
|
||||||
} catch {
|
} catch {
|
||||||
@ -426,6 +427,7 @@ export class Event {
|
|||||||
try {
|
try {
|
||||||
const decoBuffer = await bangDreamBestdoriProvider.getAsset(
|
const decoBuffer = await bangDreamBestdoriProvider.getAsset(
|
||||||
`/assets/${serverName}/deco/pins_rip/${decoAssetName}.png`,
|
`/assets/${serverName}/deco/pins_rip/${decoAssetName}.png`,
|
||||||
|
{ ignoreError: false },
|
||||||
);
|
);
|
||||||
return await loadImage(decoBuffer);
|
return await loadImage(decoBuffer);
|
||||||
} catch {
|
} catch {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user