mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-27 18:01:33 +01:00
Log null data as "(incompatible data)".
This commit is contained in:
parent
0c6c38b2e1
commit
7d57e68578
@ -150,7 +150,7 @@ public class FlyingFrequency extends BaseAdapter {
|
||||
// }
|
||||
|
||||
if (data.debug) {
|
||||
NCPAPIProvider.getNoCheatPlusAPI().getLogManager().debug(Streams.TRACE_FILE, player.getName() + " " + packetData + (event.isCancelled() ? " CANCEL" : ""));
|
||||
NCPAPIProvider.getNoCheatPlusAPI().getLogManager().debug(Streams.TRACE_FILE, player.getName() + " " +(packetData == null ? "(incompatible data)" : packetData) + (event.isCancelled() ? " CANCEL" : ""));
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user