Archiviert
13
0

Relax expected Minecraft version format. Partially fixes ticket 124

Dieser Commit ist enthalten in:
Kristian S. Stangeland 2013-09-02 16:14:11 +02:00
Ursprung d810d17abb
Commit db2efbe089

Datei anzeigen

@ -35,7 +35,7 @@ public class MinecraftVersion implements Comparable<MinecraftVersion> {
/** /**
* Regular expression used to parse version strings. * Regular expression used to parse version strings.
*/ */
private static final String VERSION_PATTERN = ".*\\(MC:\\s*((?:\\d+\\.)*\\d)\\s*\\)"; private static final String VERSION_PATTERN = ".*\\(.*MC.\\s*((?:\\d+\\.)*\\d)\\s*\\)";
private final int major; private final int major;
private final int minor; private final int minor;