Bring back the Lobotomizer (#869)

This commit is contained in:
BillyGalbreath
2022-01-27 10:27:23 -06:00
committed by GitHub
parent 102d0e2a46
commit 611c034710
3 changed files with 171 additions and 3 deletions

View File

@@ -172,7 +172,7 @@ index 55bae3efbc630be6d40d415509de4c3e744a5004..9d649923e28f4839106b336fce41bd3f
.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..96802b86828522006d4a25ab61e6630173688679
index 0000000000000000000000000000000000000000..b3bfc56859d00f9e27bd1d230dd19b92985b5718
--- /dev/null
+++ b/src/main/java/org/purpurmc/purpur/PurpurConfig.java
@@ -0,0 +1,170 @@
@@ -250,8 +250,8 @@ index 0000000000000000000000000000000000000000..96802b86828522006d4a25ab61e66301
+ commands = new HashMap<>();
+ commands.put("purpur", new PurpurCommand("purpur"));
+
+ version = getInt("config-version", 26);
+ set("config-version", 26);
+ version = getInt("config-version", 27);
+ set("config-version", 27);
+
+ readConfig(PurpurConfig.class, null);
+ }