mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-12-27 19:07:45 +01:00
Update a TODO.
This commit is contained in:
parent
405f33e90e
commit
509347e78b
@ -770,7 +770,7 @@ public class MovingListener extends CheckListener implements TickListener, IRemo
|
|||||||
data.clearFlyData();
|
data.clearFlyData();
|
||||||
data.resetPositions(to);
|
data.resetPositions(to);
|
||||||
data.setSetBack(to);
|
data.setSetBack(to);
|
||||||
// TODO: make this configurable.
|
// TODO: How to account for plugins that reset the fall distance here?
|
||||||
if (fallDistance > 1.0 && fallDistance - player.getFallDistance() > 0.0){
|
if (fallDistance > 1.0 && fallDistance - player.getFallDistance() > 0.0){
|
||||||
// Reset fall distance if set so in the config.
|
// Reset fall distance if set so in the config.
|
||||||
if (!MovingConfig.getConfig(player).noFallTpReset){
|
if (!MovingConfig.getConfig(player).noFallTpReset){
|
||||||
|
Loading…
Reference in New Issue
Block a user