Fabric API

Fabric API

106M Downloads

Fabric Api rejects namespaces containing dots that are valid in vanilla

Justsnoopy30 opened this issue ยท 0 comments

commented

According to https://minecraft.fandom.com/wiki/Resource_location#Legal_characters, namespaces can also contain dots.
image
On line 54 of ModNioResourcePack, the regex does not accept dots:
image

private static final Pattern RESOURCE_PACK_PATH = Pattern.compile("[a-z0-9-_]+");