Forgot to commit fix merge conflicts

Signed-off-by: shedaniel <daniel@shedaniel.me>
This commit is contained in:
shedaniel
2021-10-27 12:04:17 +08:00
parent decdb1fd85
commit 70d4a1d691
17 changed files with 108 additions and 154 deletions

View File

@@ -102,8 +102,8 @@ public final class TinyRemapperHelper {
}
builder.invalidLvNamePattern(MC_LV_PATTERN);
builder.inferNameFromSameLvIndex(true)
.extraPreApplyVisitor((cls, next) -> {
builder.inferNameFromSameLvIndex(true);
builder.extraPreApplyVisitor((cls, next) -> {
if (fixRecords && !cls.isRecord() && "java/lang/Record".equals(cls.getSuperName()) && mappings.getValue() != null) {
return new RecordComponentFixVisitor(next, mappings.getValue(), mappings.getValue().getNamespaceId(MappingsNamespace.INTERMEDIARY.toString()));
}