mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-03-16 16:39:14 +01:00
Add comment on differing number of bukkit events vs. flying pacekts.
This commit is contained in:
parent
260ba01246
commit
81d10a314c
@ -49,7 +49,13 @@ public class FlyingFrequency extends BaseAdapter {
|
||||
|
||||
public FlyingFrequency(Plugin plugin) {
|
||||
// PacketPlayInFlying[3, legacy: 10]
|
||||
super(plugin, ListenerPriority.LOW, PacketType.Play.Client.FLYING);
|
||||
super(plugin, ListenerPriority.LOW, new PacketType[] {
|
||||
PacketType.Play.Client.FLYING,
|
||||
// TODO: What with the other packets (specifically on player-join, compare PlayerMoveEvent)?
|
||||
// PacketType.Play.Client.LOOK,
|
||||
// PacketType.Play.Client.POSITION,
|
||||
// PacketType.Play.Client.POSITION_LOOK
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user