Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-20 15:00:11 +01:00
Update mcpl
Dieser Commit ist enthalten in:
Ursprung
c79aea4e4e
Commit
c9acfecd9d
@ -48,6 +48,8 @@ import org.geysermc.mcprotocollib.network.packet.PacketProtocol;
|
|||||||
import org.geysermc.mcprotocollib.network.tcp.FlushHandler;
|
import org.geysermc.mcprotocollib.network.tcp.FlushHandler;
|
||||||
import org.geysermc.mcprotocollib.network.tcp.TcpFlowControlHandler;
|
import org.geysermc.mcprotocollib.network.tcp.TcpFlowControlHandler;
|
||||||
import org.geysermc.mcprotocollib.network.tcp.TcpPacketCodec;
|
import org.geysermc.mcprotocollib.network.tcp.TcpPacketCodec;
|
||||||
|
import org.geysermc.mcprotocollib.network.tcp.TcpPacketCompression;
|
||||||
|
import org.geysermc.mcprotocollib.network.tcp.TcpPacketEncryptor;
|
||||||
import org.geysermc.mcprotocollib.network.tcp.TcpPacketSizer;
|
import org.geysermc.mcprotocollib.network.tcp.TcpPacketSizer;
|
||||||
import org.geysermc.mcprotocollib.network.tcp.TcpSession;
|
import org.geysermc.mcprotocollib.network.tcp.TcpSession;
|
||||||
import org.geysermc.mcprotocollib.protocol.codec.MinecraftCodecHelper;
|
import org.geysermc.mcprotocollib.protocol.codec.MinecraftCodecHelper;
|
||||||
@ -104,7 +106,9 @@ public final class LocalSession extends TcpSession {
|
|||||||
pipeline.addLast("read-timeout", new ReadTimeoutHandler(getFlag(BuiltinFlags.READ_TIMEOUT, 30)));
|
pipeline.addLast("read-timeout", new ReadTimeoutHandler(getFlag(BuiltinFlags.READ_TIMEOUT, 30)));
|
||||||
pipeline.addLast("write-timeout", new WriteTimeoutHandler(getFlag(BuiltinFlags.WRITE_TIMEOUT, 0)));
|
pipeline.addLast("write-timeout", new WriteTimeoutHandler(getFlag(BuiltinFlags.WRITE_TIMEOUT, 0)));
|
||||||
|
|
||||||
|
pipeline.addLast("encryption", new TcpPacketEncryptor());
|
||||||
pipeline.addLast("sizer", new TcpPacketSizer(protocol.getPacketHeader(), getCodecHelper()));
|
pipeline.addLast("sizer", new TcpPacketSizer(protocol.getPacketHeader(), getCodecHelper()));
|
||||||
|
pipeline.addLast("compression", new TcpPacketCompression(getCodecHelper()));
|
||||||
|
|
||||||
pipeline.addLast("flow-control", new TcpFlowControlHandler());
|
pipeline.addLast("flow-control", new TcpFlowControlHandler());
|
||||||
pipeline.addLast("codec", new TcpPacketCodec(LocalSession.this, true));
|
pipeline.addLast("codec", new TcpPacketCodec(LocalSession.this, true));
|
||||||
|
@ -15,7 +15,7 @@ protocol-common = "3.0.0.Beta4-20240828.162251-1"
|
|||||||
protocol-codec = "3.0.0.Beta4-20240828.162251-1"
|
protocol-codec = "3.0.0.Beta4-20240828.162251-1"
|
||||||
raknet = "1.0.0.CR3-20240416.144209-1"
|
raknet = "1.0.0.CR3-20240416.144209-1"
|
||||||
minecraftauth = "4.1.1-20240806.235051-7"
|
minecraftauth = "4.1.1-20240806.235051-7"
|
||||||
mcprotocollib = "0b28bf7"
|
mcprotocollib = "59fcdf1"
|
||||||
adventure = "4.14.0"
|
adventure = "4.14.0"
|
||||||
adventure-platform = "4.3.0"
|
adventure-platform = "4.3.0"
|
||||||
junit = "5.9.2"
|
junit = "5.9.2"
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren