Set data.teleported for hover violations.

This commit is contained in:
asofold 2013-01-25 14:38:41 +01:00
parent 509347e78b
commit ed09b58074

View File

@ -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)?