Skip to content

Commit

Permalink
clean structure
Browse files Browse the repository at this point in the history
  • Loading branch information
xGinko committed Mar 19, 2024
1 parent 98c1c49 commit dcaf3ca
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,14 @@

public class ElytraHelper extends PacketListenerAbstract implements AEFModule, Listener {

private static ElytraHelper instance;
public static final double SPEED_TOLERANCE = 0.02;
private static ElytraHelper instance;
private final AnarchyExploitFixes plugin;
private final boolean calculate3D;
private final Cache<UUID, Double> updated_speed_average;
private final Cache<UUID, ExpiringSet<Double>> speed_history;
private final Cache<UUID, Pair<Vector3d, Long>> previous_positions;
private final boolean calculate3D;

public ElytraHelper() {
super(PacketListenerPriority.MONITOR);
instance = this;
Expand Down

0 comments on commit dcaf3ca

Please sign in to comment.