Move "use-display-name-in-quit-message" to settings namespace (#6257)

This commit is contained in:
MeFisto94 2021-07-26 01:11:44 +02:00 committed by GitHub
parent 2f1f1b7f0c
commit efd7e5182c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 82 additions and 78 deletions

View file

@ -298,7 +298,7 @@ index 0000000000000000000000000000000000000000..bee2fa2bfbb61209381f24ed6508d3d1
+}
diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java
new file mode 100644
index 0000000000000000000000000000000000000000..2c0514892d3993bef57ecf677cf8bb0fbe0216e4
index 0000000000000000000000000000000000000000..da4e7ee0914cd23679645ced0060541de69c64ee
--- /dev/null
+++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java
@@ -0,0 +1,185 @@
@ -364,8 +364,8 @@ index 0000000000000000000000000000000000000000..2c0514892d3993bef57ecf677cf8bb0f
+ commands = new HashMap<String, Command>();
+ commands.put("paper", new PaperCommand("paper"));
+
+ version = getInt("config-version", 20);
+ set("config-version", 20);
+ version = getInt("config-version", 21);
+ set("config-version", 21);
+ readConfig(PaperConfig.class, null);
+ }
+