Fix incorrect merge

This commit is contained in:
embeddedt 2023-04-16 13:24:34 -04:00
parent 44d178bb89
commit dcd37391fe
No known key found for this signature in database
GPG Key ID: A69433EC199B5613

View File

@ -74,7 +74,7 @@ public abstract class PathResourcePackMixin {
if(!listing.getFileName().endsWith(".mcmeta")) { if(!listing.getFileName().endsWith(".mcmeta")) {
rootListingPaths.add(listing); rootListingPaths.add(listing);
} }
this.containedPaths.add(new CachedResourcePath(new String[] { type.getDirectory(), namespace }, listing)); containedPaths.add(new CachedResourcePath(new String[] { type.getDirectory(), namespace }, listing));
}); });
rootListingPaths.trimToSize(); rootListingPaths.trimToSize();
rootListingForNamespaces.put(namespace, rootListingPaths); rootListingForNamespaces.put(namespace, rootListingPaths);