mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-09-05 03:31:09 +02: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.toWasReset = false;
|
||||
data.fromWasReset = false;
|
||||
player.teleport(data.getSetBack(loc));
|
||||
data.setTeleported(data.getSetBack(loc));
|
||||
player.teleport(data.getTeleported());
|
||||
}
|
||||
else{
|
||||
// Solve by extra actions ? Special case (probably never happens)?
|
||||
|
|
Loading…
Reference in New Issue
Block a user