Skip to content
Permalink
Browse files

Fix config version, fixes #12

  • Loading branch information...
mcmonkey4eva committed Apr 18, 2016
1 parent d135b77 commit b68453fa73e51b29dc3d1e82c77b480e4a7300de
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/org/mcmonkey/sentinel/SentinelPlugin.java
@@ -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() {

0 comments on commit b68453f

Please sign in to comment.
You can’t perform that action at this time.