Increase minimal delay between two jumps from 3 to 9 ticks

This commit is contained in:
Evenprime 2012-01-01 17:56:37 +01:00
parent 5d56a8c66c
commit f3df291f85
2 changed files with 2 additions and 2 deletions

View File

@ -71,7 +71,7 @@ public class FlyingCheck extends MovingCheck {
// Try to treat it as a the "bunnyhop" problem // Try to treat it as a the "bunnyhop" problem
if(data.bunnyhopdelay <= 0 && resultHoriz < 0.4D) { if(data.bunnyhopdelay <= 0 && resultHoriz < 0.4D) {
data.bunnyhopdelay = 3; data.bunnyhopdelay = 9;
resultHoriz = 0; resultHoriz = 0;
} }
} }

View File

@ -170,7 +170,7 @@ public class RunningCheck extends MovingCheck {
// Try to treat it as a the "bunnyhop" problem // Try to treat it as a the "bunnyhop" problem
if(data.bunnyhopdelay <= 0 && distanceAboveLimit > 0.05D && distanceAboveLimit < 0.4D) { if(data.bunnyhopdelay <= 0 && distanceAboveLimit > 0.05D && distanceAboveLimit < 0.4D) {
data.bunnyhopdelay = 3; data.bunnyhopdelay = 9;
distanceAboveLimit = 0; distanceAboveLimit = 0;
} }
} }