papermc/paper-server/patches/sources/net/minecraft/network
Owen 7f60924390
Configuration API (#12301)
This implements a solution that preemptively exits the tick loop if we have already marked the connection as disconnecting. This avoids changing the result of Connection#isConnected in order to avoid other possibly unintentional changes. Fundamentally it should be investigated if closing the connection async is really still needed.

This also additionally removes the login disconnecting logic for server stopping, as this was also a possible issue in the config stage but also shouldn't be an issue as connections are closed on server stop very early.

Additionally, do not check for isConnecting() on VERIFYING, as that seemed to be an old diff originally trying to resolve this code, however isConnected is not updated at this point so it pretty much was useless.
2025-06-30 11:49:15 +02:00
..
chat 1.21.6 dev 2025-06-17 15:45:25 +02:00
codec 1.21.6 dev 2025-06-17 15:45:25 +02:00
protocol Don't mutate the position of Items for MC-4 Fix (#12702) 2025-06-25 21:51:26 +02:00
syncher Disable Item Obfuscation for entity related stacks (#12297) 2025-05-03 20:52:33 +02:00
Connection.java.patch Configuration API (#12301) 2025-06-30 11:49:15 +02:00
DisconnectionDetails.java.patch Configuration API (#12301) 2025-06-30 11:49:15 +02:00
FriendlyByteBuf.java.patch 1.21.6 dev 2025-06-17 15:45:25 +02:00
PacketEncoder.java.patch Small diff cleanups from patch updating 2024-12-17 16:50:59 +01:00
VarInt.java.patch net/minecraft/network/ 2024-12-14 15:47:52 -05:00
Varint21FrameDecoder.java.patch net/minecraft/network/ 2024-12-14 15:47:52 -05:00