mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-15 05:41:51 +08: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())) {
|
||||
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);
|
||||
}
|
||||
return list;
|
||||
|
Loading…
Reference in New Issue
Block a user