Fix regression in TinyJavadocProvider (#516)

This was param.getName using tiny-mappings-parser before #495. It was writing the method name as the parameter name, which doesn't seem too correct...
This commit is contained in:
Juuxel 2021-10-11 23:31:59 +03:00 committed by GitHub
parent e2439b7f57
commit 1c208f99b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -151,7 +151,7 @@ public class TinyJavadocProvider implements IFabricJavadocProvider {
addedParam = true;
}
parts.add(String.format("@param %s %s", methodMapping.getName(MappingsNamespace.NAMED.toString()), comment));
parts.add(String.format("@param %s %s", argMapping.getName(MappingsNamespace.NAMED.toString()), comment));
}
}