Ender Storage 1.8.+

Ender Storage 1.8.+

99M Downloads

Crash on startup [1.19]

Speiger opened this issue ยท 1 comments

commented
Caused by: net.minecraft.ResourceLocationException: Non [a-z0-9/._-] character in path of location: enderstorage:textures/EnderPouch.psd
	at net.minecraft.resources.ResourceLocation.<init>(ResourceLocation.java:37) ~[client-1.19-20220607.102129-srg.jar%23141!/:?] {re:mixin,re:classloading,pl:mixin:APP:ftblibrary-common.mixins.json:ResourceLocationMixin,pl:mixin:APP:ferritecore.mrl.mixin.json:ResourceLocationAccess,pl:mixin:A}
	at net.minecraft.resources.ResourceLocation.<init>(ResourceLocation.java:46) ~[client-1.19-20220607.102129-srg.jar%23141!/:?] {re:mixin,re:classloading,pl:mixin:APP:ftblibrary-common.mixins.json:ResourceLocationMixin,pl:mixin:APP:ferritecore.mrl.mixin.json:ResourceLocationAccess,pl:mixin:A}
	at net.minecraftforge.resource.PathResourcePack.lambda$getResources$1(PathResourcePack.java:116) ~[forge-1.19-41.0.62-universal.jar%23146!/:?] {re:classloading}

Started my 1.19 IC2C beta and this is instantly a crashreport.
While this can be caused by another mod it isn't a good idea to have a invalid name "resource" in the final jar...
Would be a good idea to remove/lowercase the filename to prevent crashes like these.

Small edit: this is the code i am running that causes the crash...

for(Map.Entry<ResourceLocation, Resource> entry : manager.listResources("textures", T -> T.getPath().endsWith("texture_package.json")).entrySet())
{
}
commented

Fixed in ac4bc43

Build: 1.19-2.10.0.179