Rework populator seed migration from tuinity config

This commit is contained in:
William Blake Galbreath
2021-06-28 01:51:00 -05:00
parent 0f3e9b0e9e
commit 99346c5689
2 changed files with 14 additions and 14 deletions

View File

@@ -164,7 +164,7 @@ index 862553e98a7237d39a26036c615b9cbd001bd3bf..d11b463548b847382a22fdf50496b186
this.ticksPerAnimalSpawns = this.getCraftServer().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..32f44983aaec838960e6435580ee261cfa266b53
index 0000000000000000000000000000000000000000..5bc7d1d72847fc200a5bcd19f083e45805546aeb
--- /dev/null
+++ b/src/main/java/net/pl3x/purpur/PurpurConfig.java
@@ -0,0 +1,130 @@
@@ -223,8 +223,8 @@ index 0000000000000000000000000000000000000000..32f44983aaec838960e6435580ee261c
+ commands = new HashMap<>();
+ commands.put("purpur", new PurpurCommand("purpur"));
+
+ version = getInt("config-version", 15);
+ set("config-version", 15);
+ version = getInt("config-version", 16);
+ set("config-version", 16);
+
+ readConfig(PurpurConfig.class, null);
+ }