fix remapping twice
All checks were successful
Publish to snapshot maven / build (push) Successful in 18s
All checks were successful
Publish to snapshot maven / build (push) Successful in 18s
This commit is contained in:
parent
811b4e3611
commit
1fff5c75f6
|
@ -8,7 +8,7 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "dev.frogmc"
|
group = "dev.frogmc"
|
||||||
version = "0.0.1-alpha.11"
|
version = "0.0.1-alpha.12"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|
|
@ -61,8 +61,7 @@ public class Thyroxine {
|
||||||
|
|
||||||
public static void remap(MappingData data, Path inputJar, Path outputJar, boolean skipMetaInf, boolean renameParameters, Path... context) throws IOException, InterruptedException {
|
public static void remap(MappingData data, Path inputJar, Path outputJar, boolean skipMetaInf, boolean renameParameters, Path... context) throws IOException, InterruptedException {
|
||||||
List<RemappingStep> steps = List.of(
|
List<RemappingStep> steps = List.of(
|
||||||
ClassRemapper::new,
|
(cv, mapper) -> renameParameters ? new ParameterClassRemapper(cv, mapper, data) : new ClassRemapper(cv, mapper)
|
||||||
(cv, mapper) -> renameParameters ? new ParameterClassRemapper(cv, mapper, data) : cv
|
|
||||||
);
|
);
|
||||||
remap(data, inputJar, outputJar, skipMetaInf, steps, context);
|
remap(data, inputJar, outputJar, skipMetaInf, steps, context);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue