lastIndexOf, Note Don't code while sick.
This commit is contained in:
parent
cad049caa1
commit
bcec606b12
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ public class FMLDeobfuscatingRemapper extends Remapper {
|
|||
{
|
||||
return classNameBiMap.inverse().get(typeName);
|
||||
}
|
||||
int dollarIdx = typeName.indexOf('$');
|
||||
int dollarIdx = typeName.lastIndexOf('$');
|
||||
if (dollarIdx > -1)
|
||||
{
|
||||
return unmap(typeName.substring(0, dollarIdx)) + "$" + typeName.substring(dollarIdx + 1);
|
||||
|
|
Loading…
Reference in a new issue