3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-26 16:12:46 +01:00

Add support for commands

Dieser Commit ist enthalten in:
RednedEpic 2019-07-20 20:21:11 -05:00
Ursprung a777add304
Commit 78438121bd

Datei anzeigen

@ -174,7 +174,11 @@ public class UpstreamPacketHandler implements BedrockPacketHandler {
@Override @Override
public boolean handle(CommandRequestPacket packet) { public boolean handle(CommandRequestPacket packet) {
System.out.println("Handled packet: " + packet.getClass().getSimpleName()); System.out.println("Handled packet: " + packet.getClass().getSimpleName());
return false;
ClientChatPacket chatPacket = new ClientChatPacket(packet.getCommand());
session.getDownstream().getSession().send(chatPacket);
return true;
} }
@Override @Override