Make some constants static.

This commit is contained in:
asofold 2012-10-01 03:06:49 +02:00
parent 5bceb353b7
commit b00c3b8256
3 changed files with 6 additions and 6 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.