diff --git a/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientPlaySessionHandler.java b/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientPlaySessionHandler.java index e8b747bac..90e7ee6bb 100644 --- a/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientPlaySessionHandler.java +++ b/proxy/src/main/java/com/velocitypowered/proxy/connection/client/ClientPlaySessionHandler.java @@ -131,13 +131,13 @@ public class ClientPlaySessionHandler implements MinecraftSessionHandler { Optional eventCommand = event.getResult().getCommand(); String command = eventCommand.orElse(event.getCommand()); if (commandResult.isForwardToServer()) { - smc.write(Chat.createServerbound(command)); + smc.write(Chat.createServerbound("/" + command)); return; } if (commandResult.isAllowed()) { try { if (!server.getCommandManager().executeImmediately(player, command)) { - smc.write(Chat.createServerbound(command)); + smc.write(Chat.createServerbound("/" + command)); } } catch (Exception e) { logger.info("Exception occurred while running command for {}", player.getUsername(),