You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upstream has released updates that appear to apply and compile correctly
Paper Changes:
PaperMC/Paper@9b1798d6 Simplify custom payload handling (#12347)
PaperMC/Paper@db8c646d Merge remote-tracking branch 'origin/main' into update/1.21.5
Copy file name to clipboardExpand all lines: purpur-server/minecraft-patches/sources/net/minecraft/server/network/ServerCommonPacketListenerImpl.java.patch
+13-11
Original file line number
Diff line number
Diff line change
@@ -33,18 +33,20 @@
33
33
if (this.keepAlivePending && packet.getId() == this.keepAliveChallenge) {
34
34
int i = (int)(Util.getMillis() - this.keepAliveTime);
this.disconnect(Component.literal("Invalid payload REGISTER!"), org.bukkit.event.player.PlayerKickEvent.Cause.INVALID_PAYLOAD); // Paper - kick event cause
36
+
@@ -169,6 +_,12 @@
37
+
return;
39
38
}
40
-
+ // Purpur start - Purpur client support
41
-
+ } else if (identifier.equals(PURPUR_CLIENT)) {
42
-
+ player.purpurClient = true;
43
-
+ // Purpur end - Purpur client support
44
-
} else if (identifier.equals(ServerCommonPacketListenerImpl.CUSTOM_UNREGISTER)) {
0 commit comments