From 6fcd673b6c9fc6018bc5f57d3ab3ab7cf85a9cce Mon Sep 17 00:00:00 2001 From: Zach Brown <1254957+zachbr@users.noreply.github.com> Date: Sun, 29 Jun 2014 13:34:16 -0500 Subject: [PATCH] Allow nerfed mobs to jump Unbreaks quite a few spawner grinders --- .../0021-Allow-nerfed-mobs-to-jump.patch | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 CraftBukkit-Patches/0021-Allow-nerfed-mobs-to-jump.patch diff --git a/CraftBukkit-Patches/0021-Allow-nerfed-mobs-to-jump.patch b/CraftBukkit-Patches/0021-Allow-nerfed-mobs-to-jump.patch new file mode 100644 index 0000000000..16602bfad7 --- /dev/null +++ b/CraftBukkit-Patches/0021-Allow-nerfed-mobs-to-jump.patch @@ -0,0 +1,24 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Zach Brown <1254957+zachbr@users.noreply.github.com> +Date: Sun, 29 Jun 2014 13:32:36 -0500 +Subject: [PATCH] Allow nerfed mobs to jump + + +diff --git a/src/main/java/net/minecraft/server/EntityInsentient.java b/src/main/java/net/minecraft/server/EntityInsentient.java +index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 +--- a/src/main/java/net/minecraft/server/EntityInsentient.java ++++ b/src/main/java/net/minecraft/server/EntityInsentient.java +@@ -0,0 +0,0 @@ public abstract class EntityInsentient extends EntityLiving { + // Spigot Start + if ( this.fromMobSpawner ) + { ++ // PaperSpigot start - Allow nerfed mobs to jump ++ this.world.methodProfiler.a("goalSelector"); ++ this.goalSelector.a(); ++ this.world.methodProfiler.c("jump"); ++ this.bm.b(); ++ // PaperSpigot end + return; + } + // Spigot End +-- \ No newline at end of file