mirror of
https://github.com/System-End/Discord-MC-Chat.git
synced 2026-04-19 19:45:14 +00:00
Temp
This commit is contained in:
parent
32660368d2
commit
0d3f475ce7
1 changed files with 2 additions and 1 deletions
|
|
@ -60,7 +60,8 @@ public class ServerHandler extends SimpleChannelInboundHandler<Packet> {
|
|||
|
||||
if (authenticated) {
|
||||
switch (packet) {
|
||||
case MinecraftEventPacket ignored -> {
|
||||
case MinecraftEventPacket p -> {
|
||||
LOGGER.warn("Received MinecraftEventPacket from authenticated client {}: type={}, placeholders={}", clientName, p.type, p.placeholders);
|
||||
}
|
||||
case null, default -> LOGGER.warn(unexpectedPacketMessage);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue