Fix NoFall violations with ender-pearls.

This commit is contained in:
asofold 2013-01-30 01:22:19 +01:00
parent b00bb9a014
commit f9691c3ea8

View File

@ -828,6 +828,10 @@ public class MovingListener extends CheckListener implements TickListener, IRemo
player.setFallDistance((float) fallDistance);
}
}
if (event.getCause() == TeleportCause.ENDER_PEARL){
// Prevent NoFall violations for ender-pearls.
data.noFallSkipAirCheck = true;
}
}
else{
// Cancelled, not a set back, ignore it, basically.