diff --git a/pom.xml b/pom.xml
index 4923bf5..049e80e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -96,15 +96,6 @@
-
- ChestShop-repo
- https://github.com/Acrobot/ChestShop-3/tree/master/repo
-
- true
- always
-
-
-
addstar-repo
http://maven.addstar.com.au/artifactory/ext-release-local/
@@ -142,7 +133,7 @@
com.griefcraft
lwc
- 4.3.1
+ 4.4.0
compile
jar
@@ -156,9 +147,9 @@
- de.diddiz
- logblock
- dev-SNAPSHOT
+ de.diddiz.LogBlock
+ LogBlock
+ 1.80
compile
jar
diff --git a/src/com/dre/brewery/P.java b/src/com/dre/brewery/P.java
index 4beed48..38a590f 100644
--- a/src/com/dre/brewery/P.java
+++ b/src/com/dre/brewery/P.java
@@ -36,6 +36,7 @@ import com.dre.brewery.integration.LogBlockBarrel;
public class P extends JavaPlugin {
public static P p;
+ public static String configVersion = "1.3";
public static boolean debug;
public static boolean useUUID;
@@ -197,10 +198,9 @@ public class P extends JavaPlugin {
// Check if config is the newest version
String version = config.getString("version", null);
if (version != null) {
- String currentVersion = getDescription().getVersion();
- if (!version.equals(currentVersion)) {
+ if (!version.equals(configVersion)) {
new ConfigUpdater(file).update(version, language);
- P.p.log("Config Updated to version: " + currentVersion);
+ P.p.log("Config Updated to version: " + configVersion);
config = YamlConfiguration.loadConfiguration(file);
}
}