From 33bb52b46ded62fab3c2faa1c779808bce5bb45d Mon Sep 17 00:00:00 2001 From: Evenprime Date: Mon, 19 Sep 2011 20:23:45 +0200 Subject: [PATCH] Update "check" list --- .../bukkit/nocheat/events/PlayerMoveEventManager.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/cc/co/evenprime/bukkit/nocheat/events/PlayerMoveEventManager.java b/src/cc/co/evenprime/bukkit/nocheat/events/PlayerMoveEventManager.java index ae5ea163..ec296c2b 100644 --- a/src/cc/co/evenprime/bukkit/nocheat/events/PlayerMoveEventManager.java +++ b/src/cc/co/evenprime/bukkit/nocheat/events/PlayerMoveEventManager.java @@ -132,6 +132,8 @@ public class PlayerMoveEventManager extends PlayerListener implements EventManag s.add("moving.swimming"); if(cc.moving.check && cc.moving.runflyCheck && !cc.moving.allowFlying && cc.moving.sneakingCheck) s.add("moving.sneaking"); + if(cc.moving.check && cc.moving.runflyCheck && !cc.moving.allowFlying && cc.moving.nofallCheck) + s.add("moving.nofall"); if(cc.moving.check && cc.moving.morePacketsCheck) s.add("moving.morepackets"); if(cc.moving.check && cc.moving.noclipCheck) @@ -149,9 +151,11 @@ public class PlayerMoveEventManager extends PlayerListener implements EventManag if(!(cc.moving.check && cc.moving.runflyCheck && cc.moving.allowFlying)) s.add("moving.flying"); if(!(cc.moving.check && cc.moving.runflyCheck && !cc.moving.allowFlying && cc.moving.swimmingCheck)) - s.add("moving.running.swimming"); + s.add("moving.swimming"); if(!(cc.moving.check && cc.moving.runflyCheck && !cc.moving.allowFlying && cc.moving.sneakingCheck)) - s.add("moving.running.sneaking"); + s.add("moving.sneaking"); + if(!(cc.moving.check && cc.moving.runflyCheck && !cc.moving.allowFlying && cc.moving.nofallCheck)) + s.add("moving.nofall"); if(!(cc.moving.check && cc.moving.morePacketsCheck)) s.add("moving.morepackets"); if(!(cc.moving.check && cc.moving.noclipCheck))