Skip to content

Commit 355d00d

Browse files
committed
Complete 1.9.4 update
Fixes #204
1 parent bf56f39 commit 355d00d

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

modules/API/src/main/java/com/comphenix/protocol/ProtocolLibrary.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ public class ProtocolLibrary {
3939
/**
4040
* The maximum version ProtocolLib has been tested with.
4141
*/
42-
public static final String MAXIMUM_MINECRAFT_VERSION = "1.9.2";
42+
public static final String MAXIMUM_MINECRAFT_VERSION = "1.9.4";
4343

4444
/**
45-
* The date (with ISO 8601 or YYYY-MM-DD) when the most recent version (1.9) was released.
45+
* The date (with ISO 8601 or YYYY-MM-DD) when the most recent version (1.9.4) was released.
4646
*/
47-
public static final String MINECRAFT_LAST_RELEASE_DATE = "2016-02-29";
47+
public static final String MINECRAFT_LAST_RELEASE_DATE = "2016-05-10";
4848

4949
/**
5050
* Plugins that are currently incompatible with ProtocolLib.

modules/API/src/main/java/com/comphenix/protocol/utility/MinecraftProtocolVersion.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ private static NavigableMap<MinecraftVersion, Integer> createLookup() {
4141
map.put(new MinecraftVersion(1, 8, 0), 47);
4242
map.put(new MinecraftVersion(1, 9, 0), 107);
4343
map.put(new MinecraftVersion(1, 9, 2), 109);
44+
map.put(new MinecraftVersion(1, 9, 4), 110);
4445
return map;
4546
}
4647

modules/ProtocolLib/src/main/java/com/comphenix/protocol/injector/player/PlayerInjector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ public boolean isClean() {
591591
* @param packet - packet to sent.
592592
* @return The given packet, or the packet replaced by the listeners.
593593
*/
594-
@SuppressWarnings("deprecation")
594+
@SuppressWarnings({ "deprecation", "null" })
595595
public Object handlePacketSending(Object packet) {
596596
try {
597597
// Get the packet ID too

0 commit comments

Comments
 (0)