From be73131d5dea81e9283c4a83e6b39521ae2e1b71 Mon Sep 17 00:00:00 2001 From: Gegy Date: Mon, 27 Nov 2023 18:33:35 +0100 Subject: [PATCH] Remove unneeded check SessionCommandHandler is only constructed for >= 1.19.3. --- .../protocol/packet/chat/session/SessionCommandHandler.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/session/SessionCommandHandler.java b/proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/session/SessionCommandHandler.java index 6984970b3..c0d12f5fb 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/session/SessionCommandHandler.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/protocol/packet/chat/session/SessionCommandHandler.java @@ -18,7 +18,6 @@ package com.velocitypowered.proxy.protocol.packet.chat.session; import com.velocitypowered.api.event.command.CommandExecuteEvent; -import com.velocitypowered.api.network.ProtocolVersion; import com.velocitypowered.proxy.VelocityServer; import com.velocitypowered.proxy.connection.client.ConnectedPlayer; import com.velocitypowered.proxy.protocol.packet.chat.ChatAcknowledgementPacket; @@ -55,7 +54,7 @@ public class SessionCommandHandler implements CommandHandler