[BUGFIX] Implemented server provider download from BDN V3

This commit is contained in:
JKetelaar
2016-10-23 01:49:52 +02:00
parent 3e6438362f
commit 112d5ea59a
2 changed files with 2 additions and 3 deletions
@@ -54,8 +54,7 @@ public class PublicServerExecuter extends ServerExecuter {
final File destination = new File(Directories.getCachePath(),
serverProviderInfo.getCRC32() + ".jar");
final String jarUrl = Configuration.GET_SERVER_PROVIDER
+ this.serverName;
final String jarUrl = String.format(Configuration.GET_SERVER_PROVIDER, Configuration.BOT_VERSION.isNightly());
Core.verbose("Downloading: " + jarUrl + " ...");