add comment about bad code
This commit is contained in:
parent
303cf54460
commit
fb2cbccb4a
38640
javascript/classes.js
38640
javascript/classes.js
File diff suppressed because it is too large
Load Diff
|
@ -15,7 +15,7 @@
|
|||
|
||||
<script type="text/javascript" src="music.js"></script>
|
||||
|
||||
<script type="text/javascript" src="classes.js?t=updateme7"></script>
|
||||
<script type="text/javascript" src="classes.js?t=updateme8"></script>
|
||||
<script type="text/javascript">
|
||||
//window.eag_self_proxy=true;//set to true to set the default proxy to the current url
|
||||
//window.eag_proxy_list="";//set to a string of comma-separated proxy ip:port combinations for a custom proxy list
|
||||
|
|
|
@ -210,7 +210,7 @@ public class GuiScreenEditProfile extends GuiScreen {
|
|||
proxyInvalid=0;
|
||||
this.drawCenteredString(this.fontRenderer, "checking proxy...", this.width / 2, 5, 16777215);
|
||||
try {
|
||||
if(!ConfigConstants.ipPattern.matcher(this.mc.gameSettings.proxy).matches())throw new IOException("lol");
|
||||
if(!ConfigConstants.ipPattern.matcher(this.mc.gameSettings.proxy).matches())throw new IOException("lol");//for some reason, direct ip didnt match...
|
||||
URL url = new URL("http" + (EaglerAdapter.isSSLPage() ? "s" : "") + "://" + this.mc.gameSettings.proxy + "/api/vm/net/connect");
|
||||
URLConnection con = url.openConnection();
|
||||
HttpURLConnection http = (HttpURLConnection) con;
|
||||
|
|
Loading…
Reference in New Issue
Block a user