Don't require command to be signed to pass it through as-is

This commit is contained in:
Gegy 2023-11-27 18:38:55 +01:00 committed by Riley Park
parent 92c48507eb
commit 3b7ffa837e

View File

@ -52,7 +52,7 @@ public class SessionCommandHandler implements CommandHandler<SessionPlayerComman
@Nullable
private MinecraftPacket forwardCommand(SessionPlayerCommandPacket packet, String newCommand) {
if (packet.isSigned() && newCommand.equals(packet.command)) {
if (newCommand.equals(packet.command)) {
return packet;
}
return modifyCommand(packet, newCommand);