From 1bc6bb2b767ae39605d49a7fb66240eeb5dcba8a Mon Sep 17 00:00:00 2001 From: BONNe1704 Date: Wed, 23 Jan 2019 16:34:37 +0200 Subject: [PATCH] Move LevelStatus to utils, as it is more Util then necessary class object. --- src/main/java/world/bentobox/challenges/ChallengesManager.java | 2 ++ .../java/world/bentobox/challenges/panel/ChallengesPanels.java | 2 +- .../java/world/bentobox/challenges/panel/ChallengesPanels2.java | 2 +- .../world/bentobox/challenges/panel/user/ChallengesGUI.java | 2 +- .../java/world/bentobox/challenges/{ => utils}/LevelStatus.java | 2 +- 5 files changed, 6 insertions(+), 4 deletions(-) rename src/main/java/world/bentobox/challenges/{ => utils}/LevelStatus.java (97%) diff --git a/src/main/java/world/bentobox/challenges/ChallengesManager.java b/src/main/java/world/bentobox/challenges/ChallengesManager.java index 554faef..8941337 100644 --- a/src/main/java/world/bentobox/challenges/ChallengesManager.java +++ b/src/main/java/world/bentobox/challenges/ChallengesManager.java @@ -22,6 +22,8 @@ import world.bentobox.challenges.database.object.Challenge; import world.bentobox.challenges.database.object.Challenge.ChallengeType; import world.bentobox.challenges.database.object.ChallengesPlayerData; import world.bentobox.challenges.panel.ChallengesPanels; +import world.bentobox.challenges.utils.LevelStatus; + public class ChallengesManager { diff --git a/src/main/java/world/bentobox/challenges/panel/ChallengesPanels.java b/src/main/java/world/bentobox/challenges/panel/ChallengesPanels.java index f021c74..6e80a53 100644 --- a/src/main/java/world/bentobox/challenges/panel/ChallengesPanels.java +++ b/src/main/java/world/bentobox/challenges/panel/ChallengesPanels.java @@ -11,7 +11,7 @@ import org.bukkit.inventory.ItemStack; import world.bentobox.challenges.ChallengesAddon; import world.bentobox.challenges.ChallengesManager; -import world.bentobox.challenges.LevelStatus; +import world.bentobox.challenges.utils.LevelStatus; import world.bentobox.challenges.commands.ChallengesCommand; import world.bentobox.challenges.database.object.Challenge; import world.bentobox.challenges.database.object.Challenge.ChallengeType; diff --git a/src/main/java/world/bentobox/challenges/panel/ChallengesPanels2.java b/src/main/java/world/bentobox/challenges/panel/ChallengesPanels2.java index 2f215c6..c432ce6 100644 --- a/src/main/java/world/bentobox/challenges/panel/ChallengesPanels2.java +++ b/src/main/java/world/bentobox/challenges/panel/ChallengesPanels2.java @@ -10,7 +10,7 @@ import org.bukkit.inventory.ItemStack; import world.bentobox.challenges.ChallengesAddon; import world.bentobox.challenges.ChallengesManager; -import world.bentobox.challenges.LevelStatus; +import world.bentobox.challenges.utils.LevelStatus; import world.bentobox.challenges.commands.ChallengesCommand; import world.bentobox.challenges.database.object.Challenge; import world.bentobox.challenges.database.object.Challenge.ChallengeType; diff --git a/src/main/java/world/bentobox/challenges/panel/user/ChallengesGUI.java b/src/main/java/world/bentobox/challenges/panel/user/ChallengesGUI.java index 894bd75..d021247 100644 --- a/src/main/java/world/bentobox/challenges/panel/user/ChallengesGUI.java +++ b/src/main/java/world/bentobox/challenges/panel/user/ChallengesGUI.java @@ -14,7 +14,7 @@ import world.bentobox.bentobox.api.panels.builders.PanelItemBuilder; import world.bentobox.bentobox.api.user.User; import world.bentobox.challenges.ChallengesAddon; import world.bentobox.challenges.ChallengesManager; -import world.bentobox.challenges.LevelStatus; +import world.bentobox.challenges.utils.LevelStatus; import world.bentobox.challenges.database.object.Challenge; import world.bentobox.challenges.panel.CommonGUI; import world.bentobox.challenges.panel.TryToComplete; diff --git a/src/main/java/world/bentobox/challenges/LevelStatus.java b/src/main/java/world/bentobox/challenges/utils/LevelStatus.java similarity index 97% rename from src/main/java/world/bentobox/challenges/LevelStatus.java rename to src/main/java/world/bentobox/challenges/utils/LevelStatus.java index f00e9aa..5e99cf2 100644 --- a/src/main/java/world/bentobox/challenges/LevelStatus.java +++ b/src/main/java/world/bentobox/challenges/utils/LevelStatus.java @@ -1,4 +1,4 @@ -package world.bentobox.challenges; +package world.bentobox.challenges.utils; import world.bentobox.challenges.database.object.ChallengeLevel;