mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-10-06 10:27:26 +02:00
Potential fix for problems with Borderguard Lite
This commit is contained in:
parent
fdd8bfdf6d
commit
3e92d0b9a2
@ -3,7 +3,7 @@ name: NoCheatPlugin
|
||||
author: Evenprime
|
||||
|
||||
main: cc.co.evenprime.bukkit.nocheat.NoCheatPlugin
|
||||
version: 0.7.5a
|
||||
version: 0.7.6
|
||||
|
||||
commands:
|
||||
nocheat:
|
||||
|
@ -372,10 +372,11 @@ public class MovingCheck extends Check {
|
||||
}
|
||||
else {
|
||||
if(!event.isCancelled()) {
|
||||
// If it wasn't our plugin that ordered the teleport, forget (almost) all our information and start from scratch at the new location
|
||||
data.speedhackSetBackPoint = event.getTo().clone();
|
||||
// If it wasn't our plugin that ordered the teleport, forget (almost) all our information and start from scratch
|
||||
// Setback points are created automatically the next time a move event is handled
|
||||
data.speedhackSetBackPoint = null;
|
||||
data.movingSetBackPoint = null;
|
||||
data.speedhackEventsSinceLastCheck = 0;
|
||||
data.movingSetBackPoint = event.getTo().clone();
|
||||
data.movingJumpPhase = 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user