Skip to content

Commit

Permalink
Fix config version, fixes #12
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Apr 18, 2016
1 parent d135b77 commit b68453f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/mcmonkey/sentinel/SentinelPlugin.java
Expand Up @@ -53,7 +53,7 @@ public void onEnable() {
instance = this;
CitizensAPI.getTraitFactory().registerTrait(TraitInfo.create(SentinelTrait.class).withName("sentinel"));
saveDefaultConfig();
if (getConfig().getInt("config version", 0) != 1) {
if (getConfig().getInt("config version", 0) != 2) {
getLogger().warning("Outdated Sentinel config - please delete it to regenerate it!");
}
BukkitRunnable postLoad = new BukkitRunnable() {
Expand Down

0 comments on commit b68453f

Please sign in to comment.