mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-13 08:44:25 +00:00
Sanitize input to isRemappedClass to use '/' as a package seperator like the srg files.
This commit is contained in:
1 parent
570faeb790
commit
704a70902f
1 file changed
+1
@@ -125,6 +125,7 @@ public class FMLDeobfuscatingRemapper extends Remapper {
|
||||
|
||||
public boolean isRemappedClass(String className)
|
||||
{
|
||||
className = className.replace('.', '/');
|
||||
return classNameBiMap.containsKey(className) || mcpNameBiMap.containsKey(className) || (!classNameBiMap.isEmpty() && className.indexOf('/') == -1);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user