mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-18 11:19:20 +00:00
Do not sync config file metadata
This commit is contained in:
1 parent
bbdf6bf239
commit
9130d059b3
1 file changed
+1
-1
@@ -115,7 +115,7 @@ public abstract class AbstractConfigFile implements Serializable {
|
||||
public static List<Field> getAllFields(List<Field> fields, Class<?> type) {
|
||||
fields.addAll(Arrays.asList(type.getDeclaredFields()));
|
||||
|
||||
if(type.getSuperclass() != null && AbstractConfigFile.class.isAssignableFrom(type.getSuperclass())) {
|
||||
if(type.getSuperclass() != null && AbstractConfigFile.class.isAssignableFrom(type.getSuperclass()) && type != AbstractConfigFile.class) {
|
||||
fields = getAllFields(fields, type.getSuperclass());
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user