Skip to content

Commit

Permalink
Update to v2.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgH93 committed Jul 19, 2019
1 parent 98112f1 commit f26efb4
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>at.pcgamingfreaks</groupId>
<artifactId>MarriageMaster</artifactId>
<version>2.0.5-RC4</version>
<version>2.0.5</version>

<scm>
<connection>scm:git:[email protected]:GeorgH93/MarriageMaster.git</connection>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
import org.bukkit.plugin.java.JavaPlugin;
import org.jetbrains.annotations.NotNull;

import lombok.Getter;

import java.io.FileNotFoundException;
import java.util.Collection;
import java.util.HashSet;
Expand All @@ -37,7 +35,6 @@

public class Config extends Configuration implements DatabaseConfiguration
{
@Getter private boolean upgradedFromV1 = false;
private static final int CONFIG_VERSION = 93, UPGRADE_THRESHOLD = 93, PRE_V2_VERSIONS = 90;

public Config(JavaPlugin plugin)
Expand All @@ -54,7 +51,6 @@ protected void doUpgrade(at.pcgamingfreaks.YamlFileManager oldConfig)
{
OldFileUpdater.updateConfig(oldConfig.getYaml(), this.getConfigE());
new UpgradedInfo(MarriageMaster.getInstance());
upgradedFromV1 = true;
}
else
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ public void onEnable()
failedToEnablePlugin();
return;
}
if(config.isUpgradedFromV1()) config.reload();
if(config.useUpdater()) update(null); // Check for updates
language = new Language(this);
BackpackIntegrationManager.initIntegration();
Expand Down

0 comments on commit f26efb4

Please sign in to comment.