Bump config version to 10

This commit is contained in:
BillyGalbreath
2020-12-21 01:14:35 -06:00
parent 3d1926e6e0
commit faf0db9183
24 changed files with 26 additions and 26 deletions

View File

@@ -102,7 +102,7 @@ index 59abca0fd2330e1cdeda603d4146e4bb1afc3090..ca4d260e8faf852b0986c4cd8645e513
this.ticksPerAnimalSpawns = this.getServer().getTicksPerAnimalSpawns(); // CraftBukkit
diff --git a/src/main/java/net/pl3x/purpur/PurpurConfig.java b/src/main/java/net/pl3x/purpur/PurpurConfig.java
new file mode 100644
index 0000000000000000000000000000000000000000..025f8bc757bc3f04380d8f4239daef1da092bba1
index 0000000000000000000000000000000000000000..cd3272520eb78a9c663bac3bfdb2b63d611d48a1
--- /dev/null
+++ b/src/main/java/net/pl3x/purpur/PurpurConfig.java
@@ -0,0 +1,130 @@
@@ -161,8 +161,8 @@ index 0000000000000000000000000000000000000000..025f8bc757bc3f04380d8f4239daef1d
+ commands = new HashMap<>();
+ commands.put("purpur", new PurpurCommand("purpur"));
+
+ version = getInt("config-version", 9);
+ set("config-version", 9);
+ version = getInt("config-version", 10);
+ set("config-version", 10);
+
+ readConfig(PurpurConfig.class, null);
+ }