Allow nerfed mobs to jump
Unbreaks quite a few spawner grinders
This commit is contained in:
parent
53192b8cac
commit
3471a29b6e
26
CraftBukkit-Patches/0021-Allow-nerfed-mobs-to-jump.patch
Normal file
26
CraftBukkit-Patches/0021-Allow-nerfed-mobs-to-jump.patch
Normal file
@ -0,0 +1,26 @@
|
||||
From 42ff8788e354f0f839e704a9aa6ba9c056ad3965 Mon Sep 17 00:00:00 2001
|
||||
From: Zach Brown <Zbob750@live.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 76fe528..99e7b2b 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityInsentient.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityInsentient.java
|
||||
@@ -403,6 +403,12 @@ 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
|
||||
--
|
||||
1.9.1
|
||||
|
Loading…
Reference in New Issue
Block a user