Skip to content

Commit

Permalink
Merge pull request #79 from Ben12345rocks/2.8.6
Browse files Browse the repository at this point in the history
2.8.6
  • Loading branch information
BenCodez authored Aug 12, 2017
2 parents ef350cb + e6bca02 commit 26335a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion AdvancedCore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.Ben12345rocks</groupId>
<artifactId>AdvancedCore</artifactId>
<version>2.8.5</version>
<version>2.8.6</version>
<packaging>jar</packaging>
<name>AdvancedCore</name>
<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ private void run() {
String version;
try {
version = new BufferedReader(new InputStreamReader(connection.getInputStream())).readLine();
if (version == null) {
result = UpdateResult.FAIL_SPIGOT;
return;
}
} catch (Exception e) {
result = UpdateResult.BAD_RESOURCEID;
return;
Expand Down

0 comments on commit 26335a2

Please sign in to comment.