diff options
author | Shane Freeder <[email protected]> | 2019-10-27 00:07:42 +0100 |
---|---|---|
committer | Shane Freeder <[email protected]> | 2019-10-27 00:07:42 +0100 |
commit | 527073aa65dc358e46731b0a0c7e0518b21490f5 (patch) | |
tree | 693b6b5e9a72fd1ad950ec50e211c859e9a6d26d | |
parent | 0d3b35c3399c2d4fd019a4271b4e96797e9b3b69 (diff) | |
download | Paper-527073aa65dc358e46731b0a0c7e0518b21490f5.tar.gz Paper-527073aa65dc358e46731b0a0c7e0518b21490f5.zip |
Update config version
-rw-r--r-- | Spigot-Server-Patches/0002-Paper-config-files.patch | 8 | ||||
-rw-r--r-- | Spigot-Server-Patches/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 83881ba5da..d540a2b2e4 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 <[email protected]> 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<String, Command>(); + 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 e49ad8e992..a6d166a2bd 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 <[email protected]> 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); + } |