diff --git a/src/main/java/common/utility/narwhaldashboard/NarwhalDashboard.java b/src/main/java/common/utility/narwhaldashboard/NarwhalDashboard.java index 3894326..1b0d5dc 100644 --- a/src/main/java/common/utility/narwhaldashboard/NarwhalDashboard.java +++ b/src/main/java/common/utility/narwhaldashboard/NarwhalDashboard.java @@ -175,6 +175,7 @@ public void addUpdate(String key, Supplier obj) { */ @SuppressWarnings("unchecked") public void sendMessage(String message) { + if (conn == null) return; final JSONObject obj = new JSONObject(); obj.put("Message", message); conn.send(obj.toJSONString());