Add api-version, tweak version pattern to support pre releases
Fixes #638 Fixes #636 Fixes #626
Dieser Commit ist enthalten in:
Ursprung
490b1dadcb
Commit
d7be712959
@ -42,7 +42,7 @@ public class MinecraftVersion implements Comparable<MinecraftVersion>, Serializa
|
||||
/**
|
||||
* Regular expression used to parse version strings.
|
||||
*/
|
||||
private static final Pattern VERSION_PATTERN = Pattern.compile(".*\\(.*MC.\\s*([a-zA-z0-9\\-\\.]+)\\s*\\)");
|
||||
private static final Pattern VERSION_PATTERN = Pattern.compile(".*\\(.*MC.\\s*([a-zA-z0-9\\-.]+).*");
|
||||
|
||||
/**
|
||||
* Version 1.14 - village and pillage update.
|
||||
|
@ -6,6 +6,7 @@ authors: [dmulloy2, comphenix]
|
||||
main: com.comphenix.protocol.ProtocolLib
|
||||
load: STARTUP
|
||||
database: false
|
||||
api-version: "1.13"
|
||||
|
||||
commands:
|
||||
protocol:
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren