From b00c3b825659b52d5da30ec9cc8c7dc65f3f349a Mon Sep 17 00:00:00 2001 From: asofold Date: Mon, 1 Oct 2012 03:06:49 +0200 Subject: [PATCH] Make some constants static. --- src/fr/neatmonster/nocheatplus/checks/blockbreak/Reach.java | 4 ++-- .../neatmonster/nocheatplus/checks/blockinteract/Reach.java | 4 ++-- src/fr/neatmonster/nocheatplus/checks/blockplace/Reach.java | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/fr/neatmonster/nocheatplus/checks/blockbreak/Reach.java b/src/fr/neatmonster/nocheatplus/checks/blockbreak/Reach.java index c31b6f86..143ae59a 100644 --- a/src/fr/neatmonster/nocheatplus/checks/blockbreak/Reach.java +++ b/src/fr/neatmonster/nocheatplus/checks/blockbreak/Reach.java @@ -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. diff --git a/src/fr/neatmonster/nocheatplus/checks/blockinteract/Reach.java b/src/fr/neatmonster/nocheatplus/checks/blockinteract/Reach.java index 9b81676c..f9814ec4 100644 --- a/src/fr/neatmonster/nocheatplus/checks/blockinteract/Reach.java +++ b/src/fr/neatmonster/nocheatplus/checks/blockinteract/Reach.java @@ -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. diff --git a/src/fr/neatmonster/nocheatplus/checks/blockplace/Reach.java b/src/fr/neatmonster/nocheatplus/checks/blockplace/Reach.java index ce19eba3..d4d2b4d8 100644 --- a/src/fr/neatmonster/nocheatplus/checks/blockplace/Reach.java +++ b/src/fr/neatmonster/nocheatplus/checks/blockplace/Reach.java @@ -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.