forked from PaperMC/Waterfall
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
From 37124052e5d272f4d580c08868932580708cb7a3 Mon Sep 17 00:00:00 2001 | ||
From b6751d0a87c640a6a0f4767c8d5da2c541f31b14 Mon Sep 17 00:00:00 2001 | ||
From: "Markus L. (FivePB)" <[email protected]> | ||
Date: Mon, 9 Nov 2020 09:47:50 +0100 | ||
Subject: [PATCH] Preliminary 1.17 support | ||
|
@@ -216,7 +216,7 @@ index d372933d..5eeb89d3 100644 | |
|
||
TO_SERVER.registerPacket( | ||
diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java b/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java | ||
index 2202c4d3..365ff071 100644 | ||
index 2202c4d3..747085e6 100644 | ||
--- a/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java | ||
+++ b/protocol/src/main/java/net/md_5/bungee/protocol/ProtocolConstants.java | ||
@@ -33,6 +33,14 @@ public class ProtocolConstants | ||
|
@@ -227,7 +227,7 @@ index 2202c4d3..365ff071 100644 | |
+ public static final int MINECRAFT_1_17 = 755; // Waterfall 1.17 | ||
+ | ||
+ private static final int SNAPSHOT_BIT = 30; | ||
+ public static final int SNAPSHOT_PROTOCOL = (1 << SNAPSHOT_BIT) | 11; // Snapshot 21w03a | ||
+ public static final int SNAPSHOT_PROTOCOL = (1 << SNAPSHOT_BIT) | 12; // Snapshot 21w05a | ||
+ | ||
+ // Waterfall 1.17 & snapshot/pre end | ||
+ | ||
|