diff --git a/src/legacy/java/net/neoforged/moddevgradle/legacyforge/dsl/Obfuscation.java b/src/legacy/java/net/neoforged/moddevgradle/legacyforge/dsl/Obfuscation.java index 895d725..d417b2d 100644 --- a/src/legacy/java/net/neoforged/moddevgradle/legacyforge/dsl/Obfuscation.java +++ b/src/legacy/java/net/neoforged/moddevgradle/legacyforge/dsl/Obfuscation.java @@ -43,14 +43,14 @@ public Obfuscation(Project project, } @ApiStatus.Internal - public void configureSrgToNamedOperation(RemapOperation operation) { + public void configureNamedToSrgOperation(RemapOperation operation) { operation.getToolType().set(RemapOperation.ToolType.ART); operation.getToolClasspath().from(autoRenamingToolRuntime); operation.getMappings().from(officialToSrg); } @ApiStatus.Internal - public void configureNamedToSrgOperation(RemapOperation operation) { + public void configureSrgToNamedOperation(RemapOperation operation) { operation.getToolType().set(RemapOperation.ToolType.INSTALLER_TOOLS); operation.getToolClasspath().from(installerToolsRuntime); operation.getMappings().from(mappingsCsv); @@ -76,7 +76,7 @@ public TaskProvider reobfuscate(TaskProvider { params.parameters(parameters -> { - obf.configureNamedToSrgOperation(parameters.getRemapOperation()); + obf.configureSrgToNamedOperation(parameters.getRemapOperation()); parameters.getMinecraftDependencies().from(remapDeps); }); params.getFrom()