fix field name replacements
All checks were successful
Publish to snapshot maven / build (push) Successful in 21s
All checks were successful
Publish to snapshot maven / build (push) Successful in 21s
This commit is contained in:
parent
9431528c47
commit
367a77b9a2
|
@ -8,7 +8,7 @@ plugins {
|
||||||
}
|
}
|
||||||
|
|
||||||
group = "dev.frogmc"
|
group = "dev.frogmc"
|
||||||
version = "0.0.1-alpha.4"
|
version = "0.0.1-alpha.5"
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|
|
@ -99,7 +99,7 @@ public class ParameterMethodRemapper extends MethodRemapper {
|
||||||
cleaned = cleaned.substring(cleaned.lastIndexOf('$') + 1);
|
cleaned = cleaned.substring(cleaned.lastIndexOf('$') + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
cleaned = cleaned.replaceAll("\\[]", "").replaceAll("(.*)\\d", "$1").replace(";", "");
|
cleaned = cleaned.replace("[", "").replace("]", "").replaceAll("(.*)\\d", "$1").replace(";", "");
|
||||||
|
|
||||||
return cleaned;
|
return cleaned;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue