mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-21 19:42:12 +00:00
Refactoring - extract annotation utilities from ASM helper
This commit is contained in:
1 parent
20d0468b44
commit
c30a17e872
23 files changed
+600
-544
No files matched your search
@@ -310,7 +310,7 @@ public final class ConstraintParser {
|
||||
* @return parsed constraint
|
||||
*/
|
||||
public static Constraint parse(AnnotationNode annotation) {
|
||||
String constraints = ASMHelper.getAnnotationValue(annotation, "constraints", "");
|
||||
String constraints = Annotations.getValue(annotation, "constraints", "");
|
||||
return ConstraintParser.parse(constraints);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user