fix: Item Overlay regex for Windows paths#8
fix: Item Overlay regex for Windows paths#8Alex33856 wants to merge 2 commits intoNotEnoughUpdates:masterfrom
Conversation
|
huh, is this actually an issue on windows? how does it manifest? all the paths should really just be slashes anyway, hmm. can you tell me about how you get errors with this? |
|
Without this, zero item overlays are loaded on Windows, because |
|
how are you using this project? could you show me a use case that fails on windows (git branch or a .java file)? .java would be nice because then i could actually put that in a github action test |
It's used in Skyblocker to parse the NEU repo items and item overlays.
I don't have an easily separable way to reproduce this outside of Minecraft and Skyblocker. The problem I'm facing is that certain SkyBlock items (Wither Scrolls, Power Scrolls, Totem of Corruption) have additional NBT data (Item Model, Banner Patterns) that is not present in the item file, but in an overlay file. To replicate in-game with Skyblocker (any version, 1.21.10/1.21.11):
On Windows, it appears as a white banner On other platforms, it appears properly with a black/purple banner pattern. |
|
This test can replicate the issue. |
|
perhaps it would make sense to instead make the filepath use forward slashes canonically, even on windows. |
lineargraph
left a comment
There was a problem hiding this comment.
thank youuu will probably try to figure out how to get the action build running on windows as well


No description provided.