mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-19 01:29:12 +00:00
Hotfix for obfuscation lookup fix which fixes lookups in superclasses
Fixes bug introduced in 54681f0b766cf117de254441db69fa9695c25081 which prevents lookups in indirect superclasses from resolving correctly
This commit is contained in:
1 parent
5c38527533
commit
bc7442d306
1 file changed
+1
-1
@@ -108,6 +108,7 @@ public class ObfuscationDataProvider implements IObfuscationDataProvider {
|
||||
ObfuscationData<T> obfData;
|
||||
TypeHandle superClass = targetType.getSuperclass();
|
||||
for (TypeHandle iface : targetType.getInterfaces()) {
|
||||
|
||||
obfData = this.<T>getObfEntryUsing(targetMember, iface);
|
||||
if (!obfData.isEmpty()) {
|
||||
return obfData;
|
||||
@@ -125,7 +126,6 @@ public class ObfuscationDataProvider implements IObfuscationDataProvider {
|
||||
return obfData;
|
||||
}
|
||||
|
||||
this.getObfEntryRecursive(targetMember.move(superClass.getName()), visited);
|
||||
return this.getObfEntryRecursive(targetMember.move(superClass.getName()), visited);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user