Ah no kick

This commit is contained in:
Chiss 2013-10-17 09:02:52 +11:00
parent d9ecbf4037
commit 4d6a0e2133

View File

@ -138,7 +138,8 @@ public class AntiHack extends MiniPlugin
if (!UtilTime.elapsed(_lastMove.get(player), _freecamTime))
continue;
player.kickPlayer(C.cGold + "Mineplex " + C.cRed + "Anti-Hack " + C.cWhite + "Kicked for Lagging / Fly (Idle) / Free Cam.");
AddOffense(player, "Lagging / Fly (Idle) / FreeCam");
//player.kickPlayer(C.cGold + "Mineplex " + C.cRed + "Anti-Hack " + C.cWhite + "Kicked for Lagging / Fly (Idle) / Free Cam.");
}
}
@ -288,7 +289,7 @@ public class AntiHack extends MiniPlugin
}
//Check
if (offset > limit && !UtilTime.elapsed(_speedTicks.get(player).getValue(), 200))//Counters Lag
if (offset > limit && !UtilTime.elapsed(_speedTicks.get(player).getValue(), 150))//Counters Lag
{
count = _speedTicks.get(player).getKey() + 1;
}