Skip to content

Commit 0f53502

Browse files
committed
Actually fix build.
1 parent 6b0b322 commit 0f53502

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Waterfall-Proxy-Patches/0003-Minecraft-1.16-Support.patch

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From 7fce11ad418dcf9a1258cb974a8d1acf993f0389 Mon Sep 17 00:00:00 2001
1+
From 9552e5b776892a7c478b55d47fac8092a139ae78 Mon Sep 17 00:00:00 2001
22
From: Justsnoopy30 <everettallen30@gmail.com>
33
Date: Sun, 16 Feb 2020 16:45:16 -0600
44
Subject: [PATCH] Minecraft 1.16 Support
@@ -434,7 +434,7 @@ index 1b0e4474..bdc5cc98 100644
434434

435435
private static void registerDummy(String name)
436436
diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/packet/LoginSuccess.java b/protocol/src/main/java/net/md_5/bungee/protocol/packet/LoginSuccess.java
437-
index 2aa5ad58..697a740e 100644
437+
index 2aa5ad58..ff986fe0 100644
438438
--- a/protocol/src/main/java/net/md_5/bungee/protocol/packet/LoginSuccess.java
439439
+++ b/protocol/src/main/java/net/md_5/bungee/protocol/packet/LoginSuccess.java
440440
@@ -7,6 +7,9 @@ import lombok.EqualsAndHashCode;
@@ -447,13 +447,12 @@ index 2aa5ad58..697a740e 100644
447447

448448
@Data
449449
@NoArgsConstructor
450-
@@ -17,18 +20,62 @@ public class LoginSuccess extends DefinedPacket
450+
@@ -17,18 +20,60 @@ public class LoginSuccess extends DefinedPacket
451451

452452
private String uuid;
453453
private String username;
454454
+ private int protocolVersion;
455455
+
456-
+ @Override
457456
+ public void read0(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion){
458457
+ this.protocolVersion = protocolVersion;
459458
+ read(buf);
@@ -471,7 +470,6 @@ index 2aa5ad58..697a740e 100644
471470
+ write(buf);
472471
+ }
473472
+
474-
+ @Override
475473
+ public void write0(ByteBuf buf, ProtocolConstants.Direction direction, int protocolVersion){
476474
+ this.protocolVersion = protocolVersion;
477475
+ write(buf);
@@ -512,7 +510,7 @@ index 2aa5ad58..697a740e 100644
512510
writeString( username, buf );
513511
}
514512

515-
@@ -37,4 +84,17 @@ public class LoginSuccess extends DefinedPacket
513+
@@ -37,4 +82,17 @@ public class LoginSuccess extends DefinedPacket
516514
{
517515
handler.handle( this );
518516
}

0 commit comments

Comments
 (0)