mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-12-28 11:28:11 +01:00
Version 0.5.6 - another minor tweak to categorizing what kind of
violation has happened
This commit is contained in:
parent
c5b2fcb1f2
commit
80aa08d279
@ -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
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user