Skip to content

Commit

Permalink
Narwhal Dashboard bugfix
Browse files Browse the repository at this point in the history
Connection bug
  • Loading branch information
Mason-Lam committed Feb 10, 2024
1 parent 9de2728 commit 30e38a8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ public void addUpdate(String key, Supplier<Object> 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());
Expand Down

0 comments on commit 30e38a8

Please sign in to comment.