From 527073aa65dc358e46731b0a0c7e0518b21490f5 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Sun, 27 Oct 2019 00:07:42 +0100 Subject: [PATCH] Update config version --- Spigot-Server-Patches/0002-Paper-config-files.patch | 8 ++++---- .../0011-Configurable-baby-zombie-movement-speed.patch | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Spigot-Server-Patches/0002-Paper-config-files.patch b/Spigot-Server-Patches/0002-Paper-config-files.patch index 83881ba5d..d540a2b2e 100644 --- a/Spigot-Server-Patches/0002-Paper-config-files.patch +++ b/Spigot-Server-Patches/0002-Paper-config-files.patch @@ -1,4 +1,4 @@ -From 70e801e21e09317358107fda0e7d5205c2654668 Mon Sep 17 00:00:00 2001 +From b8b5130d21334908044a4cbe6b6ba3302e1148a4 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Mon, 29 Feb 2016 21:02:09 -0600 Subject: [PATCH] Paper config files @@ -259,7 +259,7 @@ index 000000000..db899937b +} 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 000000000..1c52aa6f7 +index 000000000..273cdb598 --- /dev/null +++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java @@ -0,0 +1,184 @@ @@ -324,8 +324,8 @@ index 000000000..1c52aa6f7 + commands = new HashMap(); + commands.put("paper", new PaperCommand("paper")); + -+ version = getInt("config-version", 19); -+ set("config-version", 19); ++ version = getInt("config-version", 20); ++ set("config-version", 20); + readConfig(PaperConfig.class, null); + } + diff --git a/Spigot-Server-Patches/0011-Configurable-baby-zombie-movement-speed.patch b/Spigot-Server-Patches/0011-Configurable-baby-zombie-movement-speed.patch index e49ad8e99..a6d166a2b 100644 --- a/Spigot-Server-Patches/0011-Configurable-baby-zombie-movement-speed.patch +++ b/Spigot-Server-Patches/0011-Configurable-baby-zombie-movement-speed.patch @@ -1,11 +1,11 @@ -From 3cd98352d4db9cbebceb1a2f4e4b6c68e5c519cc Mon Sep 17 00:00:00 2001 +From 25cefafc2d98a1e48a7c89eba39e0aaa4dbf0e51 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Tue, 1 Mar 2016 13:09:16 -0600 Subject: [PATCH] Configurable baby zombie movement speed diff --git a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java -index 098bd3fba..1aa046bfa 100644 +index 098bd3fba..912611cf1 100644 --- a/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java +++ b/src/main/java/com/destroystokyo/paper/PaperWorldConfig.java @@ -73,4 +73,15 @@ public class PaperWorldConfig { @@ -16,7 +16,7 @@ index 098bd3fba..1aa046bfa 100644 + public double babyZombieMovementModifier; + private void babyZombieMovementModifier() { + babyZombieMovementModifier = getDouble("baby-zombie-movement-modifier", 0.5D); -+ if (PaperConfig.version < 19) { ++ if (PaperConfig.version < 20) { + babyZombieMovementModifier = getDouble("baby-zombie-movement-speed", 0.5D); + set("baby-zombie-movement-modifier", babyZombieMovementModifier); + }