PrismarineJS / PrismarineJS/node-minecraft-assets
Slash in filename?
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 22
- Forks
- 20
- Avg merge
- 50m
- Merged PRs (30d)
- 2
Description
I'm getting this error:
Error: ENOENT: no such file or directory, open '/Users/nthompson/Sites/minecraft-browser/node_modules/minecraft-assets/minecraft-assets/data/1.16.1/block/acacia_planks/.png'
Should it be texture + '.png' ?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at lib/loader.js line 36 and inspect how the texture filename is assembled. Reproduce the reported ENOENT path for acacia_planks, then verify the corrected path against the asset layout. Done means the loader opens the expected .png file without an extra slash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100