mirror of
https://github.com/FalsePattern/FalsePatternLib.git
synced 2026-11-11 11:27:29 +00:00
asm util hotfix
This commit is contained in:
1 file changed
+2
-2
@@ -143,7 +143,7 @@ public class ASMUtil {
|
||||
|
||||
@StableAPI.Expose
|
||||
public static MappingType discoverClassMappingType(ClassNode cn) {
|
||||
if (CoreLoadingPlugin.isObfuscated()) {
|
||||
if (!CoreLoadingPlugin.isObfuscated()) {
|
||||
if (MappingManager.containsClass(NameType.Internal, MappingType.MCP, cn.name)) {
|
||||
return MappingType.MCP;
|
||||
}
|
||||
@@ -157,7 +157,7 @@ public class ASMUtil {
|
||||
|
||||
@StableAPI.Expose
|
||||
public static UniversalClass toUniversalClass(ClassNode cn) {
|
||||
if (CoreLoadingPlugin.isObfuscated()) {
|
||||
if (!CoreLoadingPlugin.isObfuscated()) {
|
||||
try {
|
||||
return MappingManager.classForName(NameType.Internal, MappingType.MCP, cn.name);
|
||||
} catch (ClassNotFoundException e) {
|
||||
|
||||
Reference in new issue
Block a user