Use mojang item ids for alternative item despawn rate (#6997)

This commit is contained in:
Noah van der Aa 2022-05-05 00:29:15 +02:00 committed by GitHub
parent e5da93a608
commit 2ab0258b5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
216 changed files with 194 additions and 173 deletions

View file

@ -298,7 +298,7 @@ index 0000000000000000000000000000000000000000..a7182a4c64980aa19b8493ac9c2bb762
+}
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..23410c6ee34fcd9c50c2dbf35d8ff4d0c9ca408c
index 0000000000000000000000000000000000000000..6f7681d8e03f15bee821b0c053ed64ad3afeb2a4
--- /dev/null
+++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java
@@ -0,0 +1,188 @@
@ -364,8 +364,8 @@ index 0000000000000000000000000000000000000000..23410c6ee34fcd9c50c2dbf35d8ff4d0
+ commands = new HashMap<String, Command>();
+ commands.put("paper", new PaperCommand("paper"));
+
+ version = getInt("config-version", 25);
+ set("config-version", 25);
+ version = getInt("config-version", 26);
+ set("config-version", 26);
+ readConfig(PaperConfig.class, null);
+ }
+