From d4b72dd61fdb1c5396160dcabed560106af4570c Mon Sep 17 00:00:00 2001 From: Jamie Mansfield Date: Tue, 7 Aug 2018 20:18:45 +0100 Subject: [PATCH] Correct the JAM writer The first element of method parameter lines should be the full /obfuscated/ name. --- build.gradle | 2 +- .../java/blue/lapis/nocturne/mapping/io/writer/JamWriter.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index e31775e..2346c41 100644 --- a/build.gradle +++ b/build.gradle @@ -16,7 +16,7 @@ defaultTasks 'clean', 'licenseFormat', 'build' // Project information allprojects { group = 'blue.lapis.nocturne' - version = '1.1.2' + version = '1.1.3' sourceCompatibility = '1.8' targetCompatibility = '1.8' diff --git a/src/main/java/blue/lapis/nocturne/mapping/io/writer/JamWriter.java b/src/main/java/blue/lapis/nocturne/mapping/io/writer/JamWriter.java index 404962c..bb11338 100644 --- a/src/main/java/blue/lapis/nocturne/mapping/io/writer/JamWriter.java +++ b/src/main/java/blue/lapis/nocturne/mapping/io/writer/JamWriter.java @@ -129,7 +129,7 @@ protected void writeMethodMapping(MethodMapping mapping) { } for (MethodParameterMapping pm : mapping.getParamMappings().values()) { mpWriter.format("MP %s %s %s %s %s\n", - pm.getParent().getParent().getFullDeobfuscatedName(), + pm.getParent().getParent().getFullObfuscatedName(), pm.getParent().getObfuscatedName(), pm.getParent().getObfuscatedDescriptor(), pm.getIndex(),