mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-03-02 10:31:25 +01:00
Fixed bug that caused part of the moving check to be executed twice.
This commit is contained in:
parent
e404a65b0f
commit
11e18e0423
@ -3,7 +3,7 @@ name: NoCheat
|
||||
author: Evenprime
|
||||
|
||||
main: cc.co.evenprime.bukkit.nocheat.NoCheat
|
||||
version: 0.9.4
|
||||
version: 0.9.5
|
||||
|
||||
commands:
|
||||
nocheat:
|
||||
|
@ -96,9 +96,6 @@ public class MovingCheck extends Check {
|
||||
final Location to = event.getTo();
|
||||
Location from = event.getFrom();
|
||||
|
||||
shouldBeIgnored(player, data, from, to);
|
||||
|
||||
|
||||
// The use of event.getFrom() is intentional
|
||||
if(shouldBeIgnored(player, data, from, to)) {
|
||||
statisticElapsedTimeNano += System.nanoTime() - startTime;
|
||||
|
Loading…
Reference in New Issue
Block a user