Respect remap on Mixin for At, allow annot to override mixin, fixes #177

This commit is contained in:
Mumfrey committed 2017-05-15 14:16:21 +01:00
1 parent ffc72c7ab6
commit 3329a3d084
3 files changed
+10 -4

No files matched your search

@@ -483,7 +483,7 @@ final class AnnotatedMixins implements IMixinAnnotationProcessor, ITokenProvider
}
private boolean shouldRemap(AnnotatedMixin mixinClass, AnnotationHandle annotation) {
return mixinClass.remap() && annotation.getBoolean("remap", true);
return annotation.getBoolean("remap", mixinClass.remap());
}
/**