Skip to content

Commit

Permalink
Snapshot 21w03a
Browse files Browse the repository at this point in the history
  • Loading branch information
Xernium committed Jan 20, 2021
1 parent 18daba9 commit 9e9ead4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions BungeeCord-Patches/0060-Preliminary-1.17-support.patch
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
Expand Down Expand Up @@ -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
Expand All @@ -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
+
Expand Down Expand Up @@ -272,5 +272,5 @@ index db93d883..b1fc22cb 100644
throw new RuntimeException( "Version " + version + " has no entity map" );
}
--
2.24.0
2.25.1

0 comments on commit 9e9ead4

Please sign in to comment.