Fix stringUrl for LoadCommand

This commit is contained in:
noil 2023-05-16 01:51:19 -04:00
parent c4b9de74e7
commit a4b869b48e
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@ public final class LoadCommand extends Command {
final String[] split = input.split(" ");
JsonObject configJson = null;
try { //http://127.0.0.1:5000/config/38aef33297814b07a88a3d2d1a611002/100
final String stringUrl = "http://127.0.0.1:5000/config/" + Minecraft.getMinecraft().player.getUniqueID().toString().replace("-", "") + "/" + split[1];
try {
final String stringUrl = "https://seppuku.pw/config/" + Minecraft.getMinecraft().player.getUniqueID().toString().replace("-", "") + "/" + split[1];
URL url = new URL(stringUrl);
HttpURLConnection httpURLConnection = (HttpURLConnection) url.openConnection();
httpURLConnection.addRequestProperty("User-Agent", "Mozilla/4.76");