diff --git a/src/main/java/net/minecraftforge/client/ForgeHooksClient.java b/src/main/java/net/minecraftforge/client/ForgeHooksClient.java index 588dfd842e..f401332452 100644 --- a/src/main/java/net/minecraftforge/client/ForgeHooksClient.java +++ b/src/main/java/net/minecraftforge/client/ForgeHooksClient.java @@ -164,7 +164,9 @@ public class ForgeHooksClient StartupMessageManager.mcLoaderConsumer().ifPresent(c->c.accept("Atlas Stitching : "+map.location().toString())); ModLoader.get().postEvent(new TextureStitchEvent.Pre(map, resourceLocations)); // ModelLoader.White.INSTANCE.register(map); // TODO Custom TAS - Atlases.SIGN_MATERIALS.values().forEach(material -> resourceLocations.add(material.texture())); + Atlases.SIGN_MATERIALS.values().stream() + .filter(rm -> rm.atlasLocation().equals(map.location())) + .forEach(rm -> resourceLocations.add(rm.texture())); } public static void onTextureStitchedPost(AtlasTexture map)