Relax expected Minecraft version format. Partially fixes ticket 124
Dieser Commit ist enthalten in:
Ursprung
d810d17abb
Commit
db2efbe089
@ -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;
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren