Skip to content

Commit

Permalink
Update resourcePack.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Mqxx committed Oct 4, 2024
1 parent 7752398 commit 1fc828e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resourcePack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,9 @@ const prepareBlockstatesAndModels = async () => {
}
}

const downloadAndUseResourcePack = async (url : string) => {
const downloadAndUseResourcePack = async (url: string): Promise<void> => {
console.log('downloadAndUseResourcePack', url)

installTexturePack(await fetch(url).then(response => response.arrayBuffer()))

Check failure on line 268 in src/resourcePack.ts

View workflow job for this annotation

GitHub Actions / build-and-deploy

Functions that return promises must be async
}

Expand Down

0 comments on commit 1fc828e

Please sign in to comment.