mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
[wpilibj] Fix NPE in Field2d (#2909)
This commit is contained in:
committed by
GitHub
parent
125af556ce
commit
0075e4b391
@@ -149,5 +149,5 @@ public class FieldObject2d {
|
||||
|
||||
String m_name;
|
||||
NetworkTableEntry m_entry;
|
||||
private List<Pose2d> m_poses;
|
||||
private final List<Pose2d> m_poses = new ArrayList<>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user