From 0d613347d8c187f76aaa085cfeb19dc0cf51b2bf Mon Sep 17 00:00:00 2001 From: Alex <40795980+AlexProgrammerDE@users.noreply.github.com> Date: Fri, 13 Sep 2024 00:55:53 +0200 Subject: [PATCH] Update protocol/src/main/java/org/geysermc/mcprotocollib/network/tcp/TcpSession.java Co-authored-by: Konicai <71294714+Konicai@users.noreply.github.com> --- .../java/org/geysermc/mcprotocollib/network/tcp/TcpSession.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/src/main/java/org/geysermc/mcprotocollib/network/tcp/TcpSession.java b/protocol/src/main/java/org/geysermc/mcprotocollib/network/tcp/TcpSession.java index 4fc778ff9..b36fb6d7b 100644 --- a/protocol/src/main/java/org/geysermc/mcprotocollib/network/tcp/TcpSession.java +++ b/protocol/src/main/java/org/geysermc/mcprotocollib/network/tcp/TcpSession.java @@ -189,7 +189,7 @@ public void callPacketSent(Packet packet) { @Override public void setCompression(CompressionConfig compressionConfig) { if (this.channel == null) { - throw new IllegalStateException("You need to be connected to set the compression!"); + throw new IllegalStateException("You need to connect to set the compression!"); } channel.attr(NetworkConstants.COMPRESSION_ATTRIBUTE_KEY).set(compressionConfig);