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:
Ursprung
a777add304
Commit
78438121bd
@ -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
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren