mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-02-18 21:32:09 +01:00
Fixed networkContainerSupportsAllNetworkKeys by:
- Ignoring Deprecated key fields when requiring support
This commit is contained in:
parent
4ee31de3ed
commit
300dc69e33
@ -33,7 +33,10 @@ public class FieldFetcher {
|
|||||||
if (!Modifier.isPublic(field.getModifiers())) {
|
if (!Modifier.isPublic(field.getModifiers())) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
T key = (T) field.get(null);
|
if (field.getAnnotationsByType(Deprecated.class).length > 0) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
T key = ofType.cast(field.get(null));
|
||||||
list.add(key);
|
list.add(key);
|
||||||
}
|
}
|
||||||
return list;
|
return list;
|
||||||
|
Loading…
Reference in New Issue
Block a user