From dba9f1f834de78833dc3c4ed9d223479aed01b6f Mon Sep 17 00:00:00 2001 From: Geolykt Date: Tue, 15 Oct 2024 22:46:59 +0200 Subject: [PATCH] Fix Desc.args being stripped in the remapping process (#136) Fixes #135 --- .../mixin/soft/annotation/injection/DescAnnotationVisitor.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/net/fabricmc/tinyremapper/extension/mixin/soft/annotation/injection/DescAnnotationVisitor.java b/src/main/java/net/fabricmc/tinyremapper/extension/mixin/soft/annotation/injection/DescAnnotationVisitor.java index b0ecac47..95741c86 100644 --- a/src/main/java/net/fabricmc/tinyremapper/extension/mixin/soft/annotation/injection/DescAnnotationVisitor.java +++ b/src/main/java/net/fabricmc/tinyremapper/extension/mixin/soft/annotation/injection/DescAnnotationVisitor.java @@ -77,11 +77,13 @@ public AnnotationVisitor visitArray(String name) { @Override public void visit(String name, Object value) { argArray.add(Objects.requireNonNull((Type) value)); + super.visit(name, value); } @Override public void visitEnd() { args = Collections.unmodifiableList(argArray); + super.visitEnd(); } }; } else {