forked from FabricMC/yarn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update CFR and Enigma (FabricMC#3794)
* Update CFR and Enigma * Update and fix build
- Loading branch information
Showing
4 changed files
with
29 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
filament_version=0.7.0 | ||
filament_version=0.7.1 |
17 changes: 17 additions & 0 deletions
17
filament/src/main/java/net/fabricmc/filament/task/mappingio/CompleteMappingsTask.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package net.fabricmc.filament.task.mappingio; | ||
|
||
import java.io.IOException; | ||
import java.util.Map; | ||
|
||
import net.fabricmc.filament.task.base.WithFileInput; | ||
import net.fabricmc.mappingio.MappingReader; | ||
import net.fabricmc.mappingio.MappingWriter; | ||
import net.fabricmc.mappingio.adapter.MappingNsCompleter; | ||
|
||
public abstract class CompleteMappingsTask extends MappingOutputTask implements WithFileInput { | ||
@Override | ||
void run(MappingWriter writer) throws IOException { | ||
var nsCompleter = new MappingNsCompleter(writer, Map.of("named", "intermediary"), true); | ||
MappingReader.read(getInputPath(), nsCompleter); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters