Attempt to fix issues with (non exact) respawn.

This commit is contained in:
asofold 2013-03-06 15:40:35 +01:00
parent 0eaf9587d8
commit ce3d1ba89c

View File

@ -789,9 +789,10 @@ public class MovingListener extends CheckListener implements TickListener, IRemo
final MovingData data = MovingData.getData(player);
data.clearFlyData();
data.clearMorePacketsData();
data.setSetBack(event.getRespawnLocation());
data.resetSetBack();
// TODO: consider data.resetPositions(data.setBack);
// (Not putting hover in at respawn due to chunk sending.)
// TODO: Might use grace ticks for this too (and bigger teleports).
// final MovingConfig cc = MovingConfig.getConfig(player);
// if (cc.sfHoverCheck){
// // Assume the player might be hovering.