geforkt von Mirrors/Velocity
Fix sending commands to remote server.
Dieser Commit ist enthalten in:
Ursprung
58e072ab94
Commit
9af6829688
@ -82,7 +82,7 @@ public class ClientPlaySessionHandler implements MinecraftSessionHandler {
|
|||||||
if (msg.startsWith("/")) {
|
if (msg.startsWith("/")) {
|
||||||
try {
|
try {
|
||||||
if (!VelocityServer.getServer().getCommandManager().execute(player, msg.substring(1))) {
|
if (!VelocityServer.getServer().getCommandManager().execute(player, msg.substring(1))) {
|
||||||
player.getConnectedServer().getMinecraftConnection().write(msg);
|
player.getConnectedServer().getMinecraftConnection().write(chat);
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
logger.info("Exception occurred while running command for {}", player.getProfile().getName(), e);
|
logger.info("Exception occurred while running command for {}", player.getProfile().getName(), e);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren