mirror of
https://github.com/Melledy/LunarCore.git
synced 2025-12-15 06:45:04 +01:00
Log empty packets too
This commit is contained in:
@@ -160,6 +160,11 @@ public class GameSession {
|
||||
if (this.ukcp != null) {
|
||||
// Get packet from the server's packet cache. This will allow us to reuse empty packets if needed.
|
||||
this.ukcp.write(this.getServer().getPacketCache().getCachedPacket(cmdId));
|
||||
|
||||
// Log
|
||||
if (LunarCore.getConfig().getLogOptions().packets) {
|
||||
logPacket("SEND", cmdId, null);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user