Add automatic upgrade to add 1.19 strippables

This commit is contained in:
BillyGalbreath
2022-06-13 15:39:57 -05:00
parent f9e8de2a87
commit beb56e6e6c
42 changed files with 253 additions and 249 deletions

View File

@@ -172,7 +172,7 @@ index fbd604602024522bdd73aa1bde6fe2ccec63e442..516d26bcff64c828d3ec1607d3b774b5
.withRequiredArg()
diff --git a/src/main/java/org/purpurmc/purpur/PurpurConfig.java b/src/main/java/org/purpurmc/purpur/PurpurConfig.java
new file mode 100644
index 0000000000000000000000000000000000000000..e8bcb30f5236b4327883855275eb05d9f4f436e5
index 0000000000000000000000000000000000000000..e784bc02ee6bf9848396a1e3a3af58b0b959b0d3
--- /dev/null
+++ b/src/main/java/org/purpurmc/purpur/PurpurConfig.java
@@ -0,0 +1,170 @@
@@ -250,8 +250,8 @@ index 0000000000000000000000000000000000000000..e8bcb30f5236b4327883855275eb05d9
+ commands = new HashMap<>();
+ commands.put("purpur", new PurpurCommand("purpur"));
+
+ version = getInt("config-version", 28);
+ set("config-version", 28);
+ version = getInt("config-version", 29);
+ set("config-version", 29);
+
+ readConfig(PurpurConfig.class, null);
+ }