Fix CreativeFly ignoring possible passable set-backs.

This commit is contained in:
asofold 2013-07-15 01:08:32 +02:00
parent 83187fa549
commit 4e9e0bd7c1

View File

@ -653,7 +653,9 @@ public class MovingListener extends CheckListener implements TickListener, IRemo
} }
else if (checkCf){ else if (checkCf){
// CreativeFly // CreativeFly
if (newTo == null){
newTo = creativeFly.check(player, pFrom, pTo, data, cc, time); newTo = creativeFly.check(player, pFrom, pTo, data, cc, time);
}
data.sfHoverTicks = -1; data.sfHoverTicks = -1;
data.sfLowJump = false; data.sfLowJump = false;
} }