Skip to content

Commit

Permalink
Scan for jars with 'spongeforge' instead of just 'sponge'. Fixes #10
Browse files Browse the repository at this point in the history
  • Loading branch information
simon816 committed Aug 13, 2017
1 parent a4a122e commit e698e46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apply plugin: 'eclipse'
sourceCompatibility = '1.6'
targetCompatibility = '1.6'

version = '0.5.0'
version = '0.5.1'

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/simon816/sponge/bootstrap/Bootstrap.java
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ public boolean accept(File pathname) {
@Override
public boolean accept(File pathname) {
String fn = pathname.getName().toLowerCase();
return fn.endsWith(".jar") && fn.contains("sponge") && supportedVersion(fn);
return fn.endsWith(".jar") && fn.contains("spongeforge") && supportedVersion(fn);
}
});
}
Expand Down

0 comments on commit e698e46

Please sign in to comment.