File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
java/src/test/java/org/CreadoresProgram/ServerWebGamePost Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ public void processDatapack(JSONObject datapack){
1919 JSONObject datatu = new JSONObject ();
2020 datatu .put ("status" , "OK" );
2121 server .sendDataPacket (datapack .getString ("identifier" ), datatu );
22- server .stop ();
2322 }
2423 });
2524 System .out .println (prefix +"Test Client..." );
@@ -28,6 +27,7 @@ public void processDatapack(JSONObject datapack){
2827 @ Override
2928 public void processDatapack (JSONObject datapack ){
3029 System .out .println (datapack .getString ("status" ));
30+ server .stop ();
3131 System .out .println (prefix +"Test Done!" );
3232 System .exit (0 );
3333 }
@@ -37,4 +37,4 @@ public void processDatapack(JSONObject datapack){
3737 jsdatap .put ("ping" , System .currentTimeMillis ());
3838 client .sendDataPacket (jsdatap );
3939 }
40- }
40+ }
You can’t perform that action at this time.
0 commit comments