diff --git a/Aria/src/main/java/com/arialyy/aria/core/download/BaseDListener.java b/Aria/src/main/java/com/arialyy/aria/core/download/BaseDListener.java index 0388da25..52b18018 100644 --- a/Aria/src/main/java/com/arialyy/aria/core/download/BaseDListener.java +++ b/Aria/src/main/java/com/arialyy/aria/core/download/BaseDListener.java @@ -128,7 +128,9 @@ class BaseDListener fields = CommonUtil.getAllFields(getClass()); + List fields = + CommonUtil.getAllFields(isDownload ? DownloadConfig.class : UploadConfig.class); try { for (Field field : fields) { int m = field.getModifiers();