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
4 additions
and
4 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 80f154666cf76da567c2eb963b6fb1f343da71dc Mon Sep 17 00:00:00 2001 | ||
From 37124052e5d272f4d580c08868932580708cb7a3 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..b6a5cf10 100644 | ||
index 2202c4d3..365ff071 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..b6a5cf10 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) | 9; // Snapshot 20w51a | ||
+ public static final int SNAPSHOT_PROTOCOL = (1 << SNAPSHOT_BIT) | 11; // Snapshot 21w03a | ||
+ | ||
+ // Waterfall 1.17 & snapshot/pre end | ||
+ | ||
|
@@ -272,5 +272,5 @@ index db93d883..b1fc22cb 100644 | |
throw new RuntimeException( "Version " + version + " has no entity map" ); | ||
} | ||
-- | ||
2.24.0 | ||
2.25.1 | ||
|