Temporarilly disabled the auto downloader because of all the problems it caused. It'll be back soon once I change to a new host.

This commit is contained in:
Vasco Lavos committed 2014-06-04 16:02:11 +01:00
1 parent 051b8b6e9f
commit d07a2242e9
2 files changed
+7 -1

No files matched your search

@@ -19,6 +19,8 @@ import net.minecraft.util.EnumChatFormatting;
public class CommandDownloadLatest extends CommandBase {
private static final boolean ENABLED = false;
@Override
public String getCommandName() {
return "botania-download-latest";
@@ -31,7 +33,10 @@ public class CommandDownloadLatest extends CommandBase {
@Override
public void processCommand(ICommandSender var1, String[] var2) {
if(var2.length == 1)
if(!ENABLED)
var1.addChatMessage(new ChatComponentTranslation("botania.versioning.disabled").setChatStyle(new ChatStyle().setColor(EnumChatFormatting.RED)));
else if(var2.length == 1)
if(VersionChecker.downloadedFile)
var1.addChatMessage(new ChatComponentTranslation("botania.versioning.downloadedAlready").setChatStyle(new ChatStyle().setColor(EnumChatFormatting.RED)));
else if(VersionChecker.startedDownload)
+1
View File
@@ -77,6 +77,7 @@ botania.versioning.doneDownloading=Finished downloading %s. Reload your game to
botania.versioning.downloadedAlready=You already downloaded the latest version. Close your game, delete the old version from your mods folder and load it again to update!
botania.versioning.downloadingAlready=The update is already downloading, give it some time, will you?
botania.versioning.error=Woah! It seems like something went wrong while trying to download the Botania update. Is vazkii.us down?
botania.versioning.disabled=Sorry. This feature is currently disabled due to server host problems, it should be back soon.
# BAUBLE TOOLTIPS
botania.baubletype.amulet=Equippable in the &aAmulet&7 slot