fix field name replacements
All checks were successful
Publish to snapshot maven / build (push) Successful in 21s

This commit is contained in:
moehreag 2024-06-17 21:58:25 +02:00
parent 9431528c47
commit 367a77b9a2
2 changed files with 2 additions and 2 deletions

View file

@ -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()

View file

@ -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;
} }