diff --git a/buildSrc/src/main/java/quilt/internal/tasks/lint/FindDuplicateMappingFilesTask.java b/buildSrc/src/main/java/quilt/internal/tasks/lint/FindDuplicateMappingFilesTask.java index 266f6cab4f..0d7df2d03b 100644 --- a/buildSrc/src/main/java/quilt/internal/tasks/lint/FindDuplicateMappingFilesTask.java +++ b/buildSrc/src/main/java/quilt/internal/tasks/lint/FindDuplicateMappingFilesTask.java @@ -21,8 +21,8 @@ public abstract class FindDuplicateMappingFilesTask extends DefaultTask { public static final String TASK_NAME = "findDuplicateMappingFiles"; private static final Logger LOGGER = Logging.getLogger(FindDuplicateMappingFilesTask.class); - private static final Pattern MINECRAFT_CLASS = Pattern.compile("^CLASS net/minecraft/(?:\\w+/)*\\w+ "); - private static final Pattern BLAZE_CLASS = Pattern.compile("^CLASS com/mojang/blaze3d/(?:\\w+/)*\\w+ "); + private static final Pattern MINECRAFT_CLASS = Pattern.compile("^CLASS net/minecraft/(?:\\w+/)*\\w+(?= )"); + private static final Pattern BLAZE_CLASS = Pattern.compile("^CLASS com/mojang/blaze3d/(?:\\w+/)*\\w+(?= )"); @InputDirectory public abstract DirectoryProperty getMappingDirectory();