Skip to content

Commit 7c9bbc3

Browse files
committed
Add 1.12 protocol version
1 parent 52e396b commit 7c9bbc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ private static NavigableMap<MinecraftVersion, Integer> createLookup() {
4444
map.put(new MinecraftVersion(1, 10, 0), 210);
4545
map.put(new MinecraftVersion(1, 11, 0), 315);
4646
map.put(new MinecraftVersion(1, 11, 1), 316);
47-
// 1.12 will be >= 330
47+
map.put(new MinecraftVersion(1, 12, 0), 335);
4848
return map;
4949
}
5050

0 commit comments

Comments
 (0)