mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-26 13:53:05 +00:00
Allow @Desc to match field instructions
This commit is contained in:
1 parent
1c695238c3
commit
3b77b68c30
1 file changed
+1
-1
+1
-1
@@ -503,7 +503,7 @@ public class DynamicSelectorDesc implements ITargetSelectorDynamic, ITargetSelec
|
||||
if (node == null || this.disabled) {
|
||||
return MatchResult.NONE;
|
||||
} else if (node.isField()) {
|
||||
return this.matches(node.getOwner(), node.getName(), node.getDesc(), this.returnType.getInternalName());
|
||||
return this.matches(node.getOwner(), node.getName(), node.getDesc(), this.returnType.getDescriptor());
|
||||
} else {
|
||||
return this.matches(node.getOwner(), node.getName(), node.getDesc(), this.methodDesc);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user