Rename baby zombie movement config option

This option does not set the absolute speed of the entity as the name
implies. It sets a modifier. The default (vanilla) value of `0.5` sets
the baby zombie to move at 50% faster than the base speed.

A negative value like `-0.4` would set them to move at 40% slower.

There should be no functional changes as a result of this change, it's
just clarifying the config name.
This commit is contained in:
Zach Brown
2019-10-26 17:55:58 -05:00
parent 5ea1d44339
commit 1c87d2c4b4
60 changed files with 171 additions and 181 deletions

View File

@@ -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..db79fe41b
index 000000000..1c52aa6f7
--- /dev/null
+++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java
@@ -0,0 +0,0 @@
@@ -324,8 +324,8 @@ index 000000000..db79fe41b
+ commands = new HashMap<String, Command>();
+ commands.put("paper", new PaperCommand("paper"));
+
+ version = getInt("config-version", 18);
+ set("config-version", 18);
+ version = getInt("config-version", 19);
+ set("config-version", 19);
+ readConfig(PaperConfig.class, null);
+ }
+
@@ -581,7 +581,7 @@ index e34ef4531..43d207ae5 100644
+ // Paper end
}
diff --git a/src/main/java/net/minecraft/server/World.java b/src/main/java/net/minecraft/server/World.java
index bec64d7f2..7f648dbbc 100644
index be1815d40..ce476a204 100644
--- a/src/main/java/net/minecraft/server/World.java
+++ b/src/main/java/net/minecraft/server/World.java
@@ -0,0 +0,0 @@ public abstract class World implements IIBlockAccess, GeneratorAccess, AutoClose
@@ -666,7 +666,7 @@ index 305b6eaa9..dce5bde54 100644
+ // Paper end
}
diff --git a/src/main/java/org/bukkit/craftbukkit/Main.java b/src/main/java/org/bukkit/craftbukkit/Main.java
index fd5bc0fec..0e33cb367 100644
index e2aade101..5fe81e42a 100644
--- a/src/main/java/org/bukkit/craftbukkit/Main.java
+++ b/src/main/java/org/bukkit/craftbukkit/Main.java
@@ -0,0 +0,0 @@ public class Main {