Archiviert
13
0

Update internal versioning for 1.9

It looks like most things are stable at this point, just have to figure
out data watchers
Dieser Commit ist enthalten in:
Dan Mulloy 2016-02-29 19:15:54 -05:00
Ursprung 05c7da17b9
Commit d87e877a27
3 geänderte Dateien mit 10 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -92,12 +92,12 @@ public class ProtocolLibrary extends JavaPlugin {
/**
* The maximum version ProtocolLib has been tested with,
*/
public static final String MAXIMUM_MINECRAFT_VERSION = "1.8.8";
public static final String MAXIMUM_MINECRAFT_VERSION = "1.9";
/**
* The date (with ISO 8601 or YYYY-MM-DD) when the most recent version (1.8.8) was released.
* The date (with ISO 8601 or YYYY-MM-DD) when the most recent version (1.9) was released.
*/
public static final String MINECRAFT_LAST_RELEASE_DATE = "2015-07-27";
public static final String MINECRAFT_LAST_RELEASE_DATE = "2016-02-29";
// Update information
static final String BUKKIT_DEV_SLUG = "protocollib";

Datei anzeigen

@ -39,6 +39,7 @@ public class MinecraftProtocolVersion {
map.put(new MinecraftVersion(1, 7, 1), 4);
map.put(new MinecraftVersion(1, 7, 6), 5);
map.put(new MinecraftVersion(1, 8, 0), 47);
map.put(new MinecraftVersion(1, 9, 0), 107);
return map;
}

Datei anzeigen

@ -44,6 +44,11 @@ public class MinecraftVersion implements Comparable<MinecraftVersion>, Serializa
*/
private static final Pattern VERSION_PATTERN = Pattern.compile(".*\\(.*MC.\\s*([a-zA-z0-9\\-\\.]+)\\s*\\)");
/**
* Version 1.9 - the combat update.
*/
public static final MinecraftVersion COMBAT_UPDATE = new MinecraftVersion("1.9");
/**
* Version 1.8 - the "bountiful" update.
*/