mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-02 13:57:49 +01:00
Make some constants static.
This commit is contained in:
parent
5bceb353b7
commit
b00c3b8256
@ -27,10 +27,10 @@ import fr.neatmonster.nocheatplus.utilities.CheckUtils;
|
||||
public class Reach extends Check {
|
||||
|
||||
/** The maximum distance allowed to interact with a block in creative mode. */
|
||||
public final double CREATIVE_DISTANCE = 5.6D;
|
||||
public static final double CREATIVE_DISTANCE = 5.6D;
|
||||
|
||||
/** The maximum distance allowed to interact with a block in survival mode. */
|
||||
public final double SURVIVAL_DISTANCE = 5.2D;
|
||||
public static final double SURVIVAL_DISTANCE = 5.2D;
|
||||
|
||||
/**
|
||||
* Instantiates a new reach check.
|
||||
|
@ -27,10 +27,10 @@ import fr.neatmonster.nocheatplus.utilities.CheckUtils;
|
||||
public class Reach extends Check {
|
||||
|
||||
/** The maximum distance allowed to interact with a block in creative mode. */
|
||||
public final double CREATIVE_DISTANCE = 5.6D;
|
||||
public static final double CREATIVE_DISTANCE = 5.6D;
|
||||
|
||||
/** The maximum distance allowed to interact with a block in survival mode. */
|
||||
public final double SURVIVAL_DISTANCE = 5.2D;
|
||||
public static final double SURVIVAL_DISTANCE = 5.2D;
|
||||
|
||||
/**
|
||||
* Instantiates a new reach check.
|
||||
|
@ -28,10 +28,10 @@ import fr.neatmonster.nocheatplus.utilities.CheckUtils;
|
||||
public class Reach extends Check {
|
||||
|
||||
/** The maximum distance allowed to interact with a block in creative mode. */
|
||||
public final double CREATIVE_DISTANCE = 5.6D;
|
||||
public static final double CREATIVE_DISTANCE = 5.6D;
|
||||
|
||||
/** The maximum distance allowed to interact with a block in survival mode. */
|
||||
public final double SURVIVAL_DISTANCE = 5.2D;
|
||||
public static final double SURVIVAL_DISTANCE = 5.2D;
|
||||
|
||||
/**
|
||||
* Instantiates a new reach check.
|
||||
|
Loading…
Reference in New Issue
Block a user