Fix isObfuscated check returning false on obf names as opposed to srg names

This commit is contained in:
Chicken-Bomes committed 2014-07-03 21:11:02 +10:00
1 parent f753dcdeb8
commit 23a58af62a
1 file changed
+5 -1
+5 -1
View File
@@ -73,8 +73,12 @@ public class ObfMapping
return FMLDeobfuscatingRemapper.INSTANCE.unmap(typeName);
}
public String unmap(String typeName) {
return FMLDeobfuscatingRemapper.INSTANCE.map(typeName);
}
public boolean isObf(String typeName) {
return !map(typeName).equals(typeName);
return !map(typeName).equals(typeName) || !unmap(typeName).equals(typeName);
}
}