Update patch for 1.19
This commit is contained in:
parent
985b5a68fe
commit
21a9266c8f
|
|
@ -243,7 +243,7 @@ public abstract class ModelBakeryMixin implements IExtendedModelBakery {
|
||||||
"bettergrass"
|
"bettergrass"
|
||||||
};
|
};
|
||||||
for(String folder : extraFolders) {
|
for(String folder : extraFolders) {
|
||||||
Collection<ResourceLocation> textureLocations = this.resourceManager.listResources("textures/" + folder, p -> p.endsWith(".png"));
|
Collection<ResourceLocation> textureLocations = this.resourceManager.listResources("textures/" + folder, p -> p.getPath().endsWith(".png")).keySet();
|
||||||
for(ResourceLocation rl : textureLocations) {
|
for(ResourceLocation rl : textureLocations) {
|
||||||
if(rl.getNamespace().equals("assets")) {
|
if(rl.getNamespace().equals("assets")) {
|
||||||
/* buggy pack, correct path */
|
/* buggy pack, correct path */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user