Setting the walkSpeed no longer affects hack level

This commit is contained in:
Jnani Weibel committed 2013-03-26 07:30:52 -07:00
1 parent c301eadc5e
commit 75b2ba4aa1
1 file changed
+3
@@ -306,6 +306,9 @@ public class Backend {
reason = "while sprinting ";
max = magic.XZ_SPEED_MAX_SPRINT;
}
max += player.getWalkSpeed() - 0.2f;
if (x > max || z > max) {
int num = this.increment(player, speedViolation, magic.SPEED_MAX);
if(num >= magic.SPEED_MAX) {