robotdotnet / WPILib

DotNet implementation of WPILib for FIRST Robotics Competition (FRC)
27 stars 8 forks source link

Fixed typo in GetSubTables() causing error #124

Closed Nolan1324 closed 3 years ago

Nolan1324 commented 3 years ago

Resolves the following error when calling GetSubTables on a NetworkTable object:

ArgumentOutOfRangeException: Specified argument was out of the range of valid values.

Reproduction:

using FRC.NetworkTables;
...
NetworkTableInstance.GetTable("SmartDashboard").GetSubTables(); //This causes the error