Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-26 00:00:41 +01:00
Add support for commands
Dieser Commit ist enthalten in:
Ursprung
a777add304
Commit
78438121bd
@ -174,7 +174,11 @@ public class UpstreamPacketHandler implements BedrockPacketHandler {
|
||||
@Override
|
||||
public boolean handle(CommandRequestPacket packet) {
|
||||
System.out.println("Handled packet: " + packet.getClass().getSimpleName());
|
||||
return false;
|
||||
|
||||
ClientChatPacket chatPacket = new ClientChatPacket(packet.getCommand());
|
||||
session.getDownstream().getSession().send(chatPacket);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren