Skip to content

Commit e698e46

Browse files
committed
Scan for jars with 'spongeforge' instead of just 'sponge'. Fixes #10
1 parent a4a122e commit e698e46

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ apply plugin: 'eclipse'
44
sourceCompatibility = '1.6'
55
targetCompatibility = '1.6'
66

7-
version = '0.5.0'
7+
version = '0.5.1'
88

99
repositories {
1010
mavenCentral()

src/main/java/com/simon816/sponge/bootstrap/Bootstrap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public boolean accept(File pathname) {
9292
@Override
9393
public boolean accept(File pathname) {
9494
String fn = pathname.getName().toLowerCase();
95-
return fn.endsWith(".jar") && fn.contains("sponge") && supportedVersion(fn);
95+
return fn.endsWith(".jar") && fn.contains("spongeforge") && supportedVersion(fn);
9696
}
9797
});
9898
}

0 commit comments

Comments
 (0)