lastIndexOf, Note Don't code while sick.

This commit is contained in:
Lex Manos committed 2014-05-24 21:48:55 -07:00
1 parent 3a687f48b9
commit 3aba56440a
1 file changed
+1 -1
@@ -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);