Open kotmatross28729 opened 1 year ago
Reloading Minecraft's resources in general (such as switching shaders or resource packs) breaks heropack resources. You can use the command
/fiskheroes reload --resources
to reload and fix everything.
Ok, thanks. But Is it possible to automate this somehow? Well, like if any resources are reloaded, this command run? (I think not, but still?)
If you have a hero pack enabled and you switch shaders (i.e. if they were turned off at startup, turn them on, and if they are turned on, turn them off)
Then, absolutely all the textures from the hero packs (namely, the packs, the original textures work) will break
This will be in the logs first: https://pastebin.com/PB64YhF5
And if you switch shaders again, it will be this: https://pastebin.com/6NbRgrQB
In 1 case, it simply gives an error when loading textures from the hero pack (moreover, indicating the correct path to the texture)
But in the second case, for some reason, it looks for
packname:textures/items/heroes/texture.png
along the path, but it should bepackname:textures/heroes/texture.png
That is, after 2 switching shaders, it adds
items/
to the texture search path, which should not be