Fix for Pi OS detection

This commit is contained in:
Banks Troutman
2019-10-07 16:36:53 -04:00
parent 53585be088
commit 34c88cb9a4
4 changed files with 45 additions and 18 deletions

View File

@@ -33,6 +33,10 @@ public class NetworkManager {
return;
}
if (networking == null) {
throw new RuntimeException("Failed to detect platform!");
}
List<java.net.NetworkInterface> interfaces = new ArrayList<>();
List<NetworkInterface> goodInterfaces = new ArrayList<>();