mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-16 02:56:09 -04:00
fix resources failing to download on older mono
This commit is contained in:
parent
8490f17943
commit
b060fc78ec
@ -155,7 +155,6 @@ namespace ClassicalSharp.Gui.Screens {
|
||||
|
||||
protected override void OnNoClick(Game g, Widget w) {
|
||||
game.Gui.DisposeOverlay(this);
|
||||
string url = Identifier.Substring(3);
|
||||
|
||||
ConfirmDenyOverlay overlay = new ConfirmDenyOverlay(game, IsAlways(w));
|
||||
overlay.Url = Identifier;
|
||||
@ -169,7 +168,6 @@ namespace ClassicalSharp.Gui.Screens {
|
||||
|
||||
long contentLength = (long)item.Data;
|
||||
if (contentLength <= 0) return;
|
||||
string url = Identifier.Substring(3);
|
||||
|
||||
float contentLengthMB = (contentLength / 1024f / 1024f);
|
||||
lines[3] = "Download size: " + contentLengthMB.ToString("F3") + " MB";
|
||||
|
@ -20,7 +20,7 @@ namespace Launcher.Patcher {
|
||||
}
|
||||
|
||||
const string jarClassicUri = "http://launcher.mojang.com/mc/game/c0.30_01c/client/54622801f5ef1bcc1549a842c5b04cb5d5583005/client.jar";
|
||||
const string jar162Uri = "https://launcher.mojang.com/mc/game/1.6.2/client/b6cb68afde1d9cf4a20cbf27fa90d0828bf440a4/client.jar";
|
||||
const string jar162Uri = "http://launcher.mojang.com/mc/game/1.6.2/client/b6cb68afde1d9cf4a20cbf27fa90d0828bf440a4/client.jar";
|
||||
const string pngTerrainPatchUri = "http://static.classicube.net/terrain-patch2.png";
|
||||
const string pngGuiPatchUri = "http://static.classicube.net/gui.png";
|
||||
public const string assetsUri = "http://resources.download.minecraft.net/";
|
||||
|
Loading…
x
Reference in New Issue
Block a user