mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-28 22:47:32 +02:00
Player moving: Debug log for states of allowFlight, flying and gliding.
This commit is contained in:
parent
ec193117ce
commit
0c6617d636
@ -1954,6 +1954,15 @@ public class MovingListener extends CheckListener implements TickListener, IRemo
|
||||
if (strider != 0) {
|
||||
builder.append("(e_depth_strider=" + strider + ")");
|
||||
}
|
||||
if (Bridge1_9.isGliding(player)) {
|
||||
builder.append("(gliding)");
|
||||
}
|
||||
if (player.getAllowFlight()) {
|
||||
builder.append("(allow_flight)");
|
||||
}
|
||||
if (player.isFlying()) {
|
||||
builder.append("(flying)");
|
||||
}
|
||||
// Print basic info first in order
|
||||
NCPAPIProvider.getNoCheatPlusAPI().getLogManager().debug(Streams.TRACE_FILE, builder.toString());
|
||||
// Extended info.
|
||||
|
Loading…
Reference in New Issue
Block a user