Skip to content

Commit

Permalink
Rename FreshSqueezedChallenges to ChallengesImportManager.
Browse files Browse the repository at this point in the history
ChallengesImportManager name makes more sense then FreshSqueezedChallenges
  • Loading branch information
BONNe committed Jan 10, 2019
1 parent 4c3026f commit 3971519
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/main/java/world/bentobox/challenges/ChallengesAddon.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class ChallengesAddon extends Addon {

private ChallengesManager challengesManager;
private String permissionPrefix = "addon";
private FreshSqueezedChallenges importManager;
private ChallengesImportManager importManager;
private boolean hooked;

@Override
Expand All @@ -39,7 +39,7 @@ public void onEnable() {
// Challenges Manager
challengesManager = new ChallengesManager(this);
// Challenge import setup
importManager = new FreshSqueezedChallenges(this);
importManager = new ChallengesImportManager(this);

// Register commands - run one tick later to allow all addons to load
// AcidIsland hook in
Expand Down Expand Up @@ -98,7 +98,7 @@ public String getPermissionPrefix() {
/**
* @return the importManager
*/
public FreshSqueezedChallenges getImportManager() {
public ChallengesImportManager getImportManager() {
return importManager;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
* @author tastybento
*
*/
public class FreshSqueezedChallenges {
public class ChallengesImportManager
{

private ChallengesAddon addon;
private YamlConfiguration chal;
Expand All @@ -35,7 +36,7 @@ public class FreshSqueezedChallenges {
* Import challenges from challenges.yml
* @param challengesAddon
*/
public FreshSqueezedChallenges(ChallengesAddon challengesAddon) {
public ChallengesImportManager(ChallengesAddon challengesAddon) {
this.addon = challengesAddon;
File challengeFile = new File(addon.getDataFolder(), "challenges.yml");
if (!challengeFile.exists()) {
Expand Down

0 comments on commit 3971519

Please sign in to comment.