Version 0.5.6 - another minor tweak to categorizing what kind of

violation has happened
This commit is contained in:
Evenprime 2011-02-25 18:46:41 +01:00
parent c5b2fcb1f2
commit 80aa08d279
2 changed files with 2 additions and 2 deletions

View File

@ -3,5 +3,5 @@ name: NoCheatPlugin
author: Evenprime author: Evenprime
main: cc.co.evenprime.bukkit.nocheat.NoCheatPlugin main: cc.co.evenprime.bukkit.nocheat.NoCheatPlugin
version: 0.5.5a version: 0.5.6

View File

@ -230,7 +230,7 @@ public class MovingCheck {
double offset = (to.getY() - from.getY()) - jumpingPhases[data.movingJumpPhase]; double offset = (to.getY() - from.getY()) - jumpingPhases[data.movingJumpPhase];
if(offset > 2D) vl = vl > HEAVY ? vl : HEAVY; if(offset > 2D) vl = vl > HEAVY ? vl : HEAVY;
else if(offset > 0.6D) vl = vl > NORMAL ? vl : NORMAL; else if(offset > 1D) vl = vl > NORMAL ? vl : NORMAL;
else vl = vl > MINOR ? vl : MINOR; else vl = vl > MINOR ? vl : MINOR;
} }