Fabric API

Fabric API

106M Downloads

Built-in resource packs registration broken after version 0.95.4

diskree opened this issue ยท 0 comments

commented

Hi everyone! I'm trying to register a built-in datapack like this:

ResourceManagerHelper.registerBuiltinResourcePack(new Identifier("mymod, "superduper"), modContainer, ResourcePackActivationType.NORMAL);

Before version 0.95.4 this creates a datapack name like this: mymod:superduper

But starting from version 0.95.4 it looks like this: mymod:superduper_resourcepacks/superduper

I noticed that the changes that were accepted from #3557 make the names of the datapacks incorrect.

I'm not sure if this is a consequence of the fix or if it's a bug