Skip to content

Commit

Permalink
Fix NamespaceResourceManagerMixin
Browse files Browse the repository at this point in the history
  • Loading branch information
FirstMegaGame4 committed Dec 26, 2023
1 parent 94208a7 commit ae3570b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ private ResourcePack.ResultConsumer mutateBiConsumer(ResourcePack.ResultConsumer
if (EnvJsonUtils.isEnvJson(identifier)) {
Identifier envJsonIdentifier = EnvJsonUtils.getEnvJsonFileName(identifier);
if (allowedPathPredicate.test(envJsonIdentifier)) {
((EntryListDuckInterface) (Object) idToEntryList.computeIfAbsent(identifier, NamespaceResourceManager.EntryList::new))
((EntryListDuckInterface) (Object) idToEntryList.computeIfAbsent(envJsonIdentifier, NamespaceResourceManager.EntryList::new))
.env_json$putEnvJsonSource(resourcePack, supplier);
}
}
Expand Down

0 comments on commit ae3570b

Please sign in to comment.