Bugfix for the update provider

This commit is contained in:
GeorgH93 2016-05-20 14:06:04 +02:00
parent 0826f6e91c
commit 515fe76d76
2 changed files with 3 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>at.pcgamingfreaks</groupId>
<artifactId>MinePacks</artifactId>
<version>1.16</version>
<version>1.16.1</version>
<scm>
<connection>scm:git:git@github.com:GeorgH93/Bukkit_Minepacks.git</connection>

View File

@ -124,14 +124,13 @@ public boolean provideMD5Checksum()
//region getter for the latest version
public String getLatestVersion() throws NotSuccessfullyQueriedException
{
/*String name = getLatestName();
String name = getLatestName();
String[] help = name.split(VERSION_DELIMITER);
if(help.length == 2)
{
return help[1].split("\\s+")[0];
}
return null;*/
return "2";
return null;
}
public String getLatestVersionFileName() throws NotSuccessfullyQueriedException