mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-07 11:10:05 +01:00
Set data.teleported for hover violations.
This commit is contained in:
parent
509347e78b
commit
ed09b58074
@ -510,7 +510,8 @@ public class SurvivalFly extends Check {
|
|||||||
data.sfLastYDist = Double.MAX_VALUE;
|
data.sfLastYDist = Double.MAX_VALUE;
|
||||||
data.toWasReset = false;
|
data.toWasReset = false;
|
||||||
data.fromWasReset = false;
|
data.fromWasReset = false;
|
||||||
player.teleport(data.getSetBack(loc));
|
data.setTeleported(data.getSetBack(loc));
|
||||||
|
player.teleport(data.getTeleported());
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
// Solve by extra actions ? Special case (probably never happens)?
|
// Solve by extra actions ? Special case (probably never happens)?
|
||||||
|
Loading…
Reference in New Issue
Block a user