mirror of
https://github.com/GTNewHorizons/CodeChickenCore.git
synced 2026-11-11 15:57:42 +00:00
Fix isObfuscated check returning false on obf names as opposed to srg names
This commit is contained in:
1 parent
f753dcdeb8
commit
23a58af62a
1 file changed
+5
-1
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user