Don't require command to be signed to pass it through as-is
This commit is contained in:
@@ -52,7 +52,7 @@ public class SessionCommandHandler implements CommandHandler<SessionPlayerComman
|
|||||||
|
|
||||||
@Nullable
|
@Nullable
|
||||||
private MinecraftPacket forwardCommand(SessionPlayerCommandPacket packet, String newCommand) {
|
private MinecraftPacket forwardCommand(SessionPlayerCommandPacket packet, String newCommand) {
|
||||||
if (packet.isSigned() && newCommand.equals(packet.command)) {
|
if (newCommand.equals(packet.command)) {
|
||||||
return packet;
|
return packet;
|
||||||
}
|
}
|
||||||
return modifyCommand(packet, newCommand);
|
return modifyCommand(packet, newCommand);
|
||||||
|
Reference in New Issue
Block a user