Skip to content

Commit

Permalink
Update mapletip url to https
Browse files Browse the repository at this point in the history
  • Loading branch information
Hendi48 committed Nov 26, 2021
1 parent 502e80a commit ff68459
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/command/Commands.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public static boolean executeGMCommand(MapleClient c, String[] sub, char heading
player.setHpMp(30000);
} else if (sub[0].equals("id")) {
try {
try (BufferedReader dis = new BufferedReader(new InputStreamReader(new URL("http://www.mapletip.com/search_java.php?search_value=" + sub[1] + "&check=true").openConnection().getInputStream()))) {
try (BufferedReader dis = new BufferedReader(new InputStreamReader(new URL("https://www.mapletip.com/search_java.php?search_value=" + sub[1] + "&check=true").openConnection().getInputStream()))) {
String s;
while ((s = dis.readLine()) != null) {
player.dropMessage(s);
Expand Down

0 comments on commit ff68459

Please sign in to comment.