From 5a67b0bea0fd665bd6fb1f05c7214e7699507845 Mon Sep 17 00:00:00 2001 From: Axel Date: Sat, 16 Sep 2017 08:44:00 +0300 Subject: [PATCH] fix java debug --- .../java1.8_client/client/src/main/java/core/API/Debug.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/java1.8_client/client/src/main/java/core/API/Debug.java b/clients/java1.8_client/client/src/main/java/core/API/Debug.java index 867b94e..9e29392 100644 --- a/clients/java1.8_client/client/src/main/java/core/API/Debug.java +++ b/clients/java1.8_client/client/src/main/java/core/API/Debug.java @@ -17,7 +17,7 @@ public Debug(){ public void log(Object object) { JSONObject jo = new JSONObject(); - jo.put("action", "log"); + jo.put("command", "log"); JSONObject args = new JSONObject(); args.put("text", object.toString()); jo.put("args", args); @@ -26,7 +26,7 @@ public void log(Object object) { public void exception(Object object) { JSONObject jo = new JSONObject(); - jo.put("action", "exception"); + jo.put("command", "exception"); JSONObject args = new JSONObject(); args.put("text", object.toString()); jo.put("args", args);