Archiviert
13
0

Complete 1.9.4 update

Fixes #204
Dieser Commit ist enthalten in:
Dan Mulloy 2016-05-13 17:12:21 -04:00
Ursprung bf56f3919f
Commit 355d00d951
3 geänderte Dateien mit 5 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -39,12 +39,12 @@ public class ProtocolLibrary {
/** /**
* The maximum version ProtocolLib has been tested with. * The maximum version ProtocolLib has been tested with.
*/ */
public static final String MAXIMUM_MINECRAFT_VERSION = "1.9.2"; public static final String MAXIMUM_MINECRAFT_VERSION = "1.9.4";
/** /**
* The date (with ISO 8601 or YYYY-MM-DD) when the most recent version (1.9) was released. * The date (with ISO 8601 or YYYY-MM-DD) when the most recent version (1.9.4) was released.
*/ */
public static final String MINECRAFT_LAST_RELEASE_DATE = "2016-02-29"; public static final String MINECRAFT_LAST_RELEASE_DATE = "2016-05-10";
/** /**
* Plugins that are currently incompatible with ProtocolLib. * Plugins that are currently incompatible with ProtocolLib.

Datei anzeigen

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

Datei anzeigen

@ -591,7 +591,7 @@ public abstract class PlayerInjector implements SocketInjector {
* @param packet - packet to sent. * @param packet - packet to sent.
* @return The given packet, or the packet replaced by the listeners. * @return The given packet, or the packet replaced by the listeners.
*/ */
@SuppressWarnings("deprecation") @SuppressWarnings({ "deprecation", "null" })
public Object handlePacketSending(Object packet) { public Object handlePacketSending(Object packet) {
try { try {
// Get the packet ID too // Get the packet ID too