diff --git a/src/uorocketry/basestation/Window.java b/src/uorocketry/basestation/Window.java index e91a710..e3b3629 100644 --- a/src/uorocketry/basestation/Window.java +++ b/src/uorocketry/basestation/Window.java @@ -270,7 +270,9 @@ public Window(Main main) { } } catch (JSONException e) { // No states then - stateSendingPanel.setVisible(false); + if (stateSendingPanel != null) { + stateSendingPanel.setVisible(false); + } } centerChartPanel = new JPanel();