Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Commit

Permalink
Update MCPing.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Pmaru-top authored Jul 9, 2021
1 parent 9558898 commit c05ebe5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tax/cute/minecraftserverping/MCPing.java
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,6 @@ public static MCPing getMotd(String host, int port, int timeout) throws IOExcept
socket.close();

String data = new String(bytes,"UTF-8"); // get json
System.out.println(data);
// json parsing
JSONObject data_json = JSONObject.parseObject(data);

Expand Down Expand Up @@ -218,4 +217,4 @@ public ArrayList<String> getModList() {
public int getDelay() {
return this.delay;
}
}
}

0 comments on commit c05ebe5

Please sign in to comment.