mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-17 11:05:40 +00:00
lastIndexOf, Note Don't code while sick.
This commit is contained in:
1 parent
3a687f48b9
commit
3aba56440a
1 file changed
+1
-1
+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);
|
||||
|
||||
Reference in new issue
Block a user